A Natural Language Lexicon Using an Object Database


A Lexicon Object Structure

The Words of the Lexicon

The diagram below shows a tree structure of the primary word types in the English language. This section shows the words existing in the lexicon listed under their respective word types.

Word Type Tree Structure

The Grammar or Rules of the Lexicon

The grammar can be divided into the word order of the word types in a sentence or phrase and the rules which apply in order to validate those word orders. Note that these rules are numerous, particularly in the English language and that not all the rules in the English language are covered here.

[

	[text					[sentence period]]

	[sentence				[simple-adverbial conjunction phrase] [simple-adverbial phrase] [phrase]]

	[phrase					[noun-phrase sentence] [verb-phrase sentence] []] 

	[period					[period text] [period]]

	[conjunctive-phrase			[conjunction sentence] [conjunction noun-phrase] [conjuntion verb-phrase]]       

	[preposition-phrase			[preposition noun-phrase] [preposition verb-phrase] [preposition conjunction preposition]] 

	[noun-phrase				[complex-noun-phrase conjunctive-phrase]
						[conjunctive-phrase complex-noun-phrase]
						[conjunctive-phrase complex-noun-phrase preposition-phrase]
						[complex-noun-phrase preposition-phrase]
						[preposition-phrase complex-noun-phrase preposition-phrase]
						[preposition-phrase complex-noun-phrase]
						[complex-noun-phrase]]  

	[complex-noun-phrase			[simple-noun-phrase]
						[relative-pronoun simple-noun-phrase]
						[relative-pronoun relative-pronoun simple-noun-phrase]
						[determinant relative-pronoun]
						[determinant determinant]
						[relative-pronoun]
						[determinant]] 

	[simple-noun-phrase			[proper-noun adjective-phrase]
						[pronoun adjective-phrase]
						[proper-noun]
						[pronoun]
						[determinant simple-noun-phrase-subset adjective-phrase]
						[determinant simple-noun-phrase-subset]
						[determinant adjective-phrase]
						[simple-noun-phrase-subset]
						[adjective-phrase]]

	[simple-noun-phrase-subset		[simple-noun-phrase-subset-vowel simple-noun-phrase-subset-consonant simple-noun-phrase-subset-plural]

	[simple-noun-phrase-vowel-subset	[adjective simple-noun-phrase-subset-vowel] [simple-noun-vowel] [noun-vowel]]
	[simple-noun-phrase_consonant-subset	[adjective simple-noun-phrase-subset_consonant] [simple-noun-consonant] [noun-consonant]]
	[simple-noun-phrase_plural-subset	[adjective simple-noun-phrase-subset-plural] [simple-noun-plural] [noun-plural]]

	[simple-noun-vowel			[noun-vowel simple-noun-phrase]]
	[simple-noun-consonant			[noun-consonant simple-noun-phrase]]
	[simple-noun-plural			[noun-plural simple-noun-phrase]]

	[adjective-phrase			[adjective adjective-phrase] [adjective]]

	[adjective				[adjective] [quantifier] [gerund]]

	[determinant				[determinant-vowel] [determinant-consonant]]
	[determinant-vowel			[determinant-singular determinant-plural]]
	[determinant-consonant			[determinant-singular determinant-plural]]

	[verb-phrase				[verb-phrase-subset conjunction]
						[conjunctive-phrase verb-phrase-subset]
						[verb-phrase-subset non-proform-determinant conjunction]
						[conjunctive-phrase verb-phrase-subset preposition-phrase]
						[verb-phrase-subset preposition-phrase]
						[preposition-phrase verb-phrase-subset preposition-phrase]
						[preposition-phrase verb-phrase-subset]
						[verb-phrase-subset]]

	[verb-phrase-subset			[adverb complex-verb-phrase]
						[complex-verb-phrase adverb]
						[complex-verb-phrase]
						[adverb simple-verb-phrase]
						[simple-verb-phrase adverb]
						[adverb]
						[simple-verb-phrase]]

	[simple-verb-phrase			[imperative] [simple-present] [simple-past] [infinitive] [present-particple] [past-participle]]

	[complex-verb-phrase			[{modal} copula-be copula-have copula-to {adverb} imperative]  
						[{modal} copula-be copula-to {adverb} imperative] 
						[{modal} copula-have copula-to {adverb} imperative]
						[{modal} copula-do copula-to {adverb} imperative]
						[{modal} {adverb} imperative]
						[copula-do {adverb} imperative]
						[copula-do copula-have copula-to {adverb} imperative]
						[copula-have copula-be copula-to adverb imperative]
						[copula-have copula-do copula-to adverb imperative]   

						[modal copula-do copula-to copula-be {adverb} [present-participle past-participle]]  
						[{modal} copula-have copula-to copula-be {adverb} [present-participle past-participle]]  
						[{modal} copula-have copula-be {adverb} [present-participle past-participle]]
						[modal copula-be {adverb} [present-participle past-participle]]
						[copula-be copula-to copula-be {adverb} [present-participle past-participle]]
						[copula-be {adverb} [present-participle past-participle]]

						[modal copula-do copula-to copula-have {adverb} past-participle]
						[{modal} copula-have {adverb} past-participle] 
						[copula-have copula-to copula-have {adverb} past-participle] 
						[copula-be copula-to copula-have {adverb} past-participle] 
						[copula-be copula-have {adverb} past-participle] 
						[copula-do copula-to copula-be {adverb} past-participle] 
						[copula-do copula-to copula-have {adverb} past-participle]
						[copula-do copula-have {adverb} past-participle] 
						[copula-to copula-have {adverb} past-participle]
						[copula-to copula-be {adverb} [past-participle present-participle]]

						[modal copula-do {adverb} present-participle]
						[copula-have copula-to copula-do {adverb} present-participle]
						[copula-have {adverb} copula-do present-participle]
						[copula-be copula-to copula-do {adverb} present-participle]
						[copula-be copula-do {adverb} present-participle]
						[copula-to copula-have copula-do {adverb} present-participle]
						[copula-to copula-be copula-do {adverb} present-participle] 
						[copula-to copula-do present-participle]  

						[copula-be adverb infinitive]]

	[infinitive				[copula-to imperative]]

]