[SCL] Re: CL Controlled English (CLCE)
John F. Sowa
sowa at bestweb.net
Sat Dec 20 14:55:29 CST 2003
Bill,
I plan to have a version on my web site before
Christmas, so you can use that.
> I will have to think of some way to hook the lexicon
> of the ontology into a parser.
The CLCE grammar assumes that every word (other than
the very tiny set in quotes in the grammar rules)
must be declared as a noun, verb, adjective, or
preposition. That means that every relation in the
ontology must be declared to be of one of those
categories. When I post the full version on my
web site, I'll include the grammar for the
declarations.
And I also forgot to add three additional grammar
rules for questions. If you add the following
two rules to the previous grammar, you have a
query subset that can be translated directly
to a Prolog goal or an SQL query.
John
_____________________________________________________
Question ::= "Is it true that" Sentence
| InterrogativeNP VerbPhrase
InterrogativeNP ::= "Who" | "What" | "When"
| "Which" Adjective* Noun
Variable? PostModifier?
More information about the SCL
mailing list