compoundNounPhrase(simple)grammar | en_us.t[6084] |
Superclass Tree | Property Summary | Method Summary | Property Details | Method Details |
Note that this general rule does not allow the noun phrase after the 'of' to be qualified with an article or number, except that we make an exception to allow a definite article. Other cases ("a piece of four papers") do not generally make sense, so we won't attempt to support them; instead, games can add as special cases new nounPhrase rules for specific literal sequences where more complex grammar is necessary.
grammar
compoundNounPhrase(simple) : NounPhraseWithVocab
compoundNounPhrase(simple)
NounPhraseWithVocab
NounPhraseProd
BasicProd
object
Inherited from NounPhraseProd
:
filterForCollectives
Inherited from BasicProd
:
firstTokenIndex
isSpecialResponseMatch
lastTokenIndex
getAdjustedTokens
getVocabMatchList
Inherited from NounPhraseWithVocab
:
combineWordMatches
combineWordMatchItems
dictMatchIsExact
dictMatchIsStronger
filterDictMatches
getWordMatches
inScopeMatches
intersectWordMatches
resolveNouns
resolveNounsMatchName
Inherited from NounPhraseProd
:
filterTruncations
getVerifyKeepers
Inherited from BasicProd
:
canResolveTo
getOrigText
getOrigTokenList
setOrigTokenList
getAdjustedTokens ( ) OVERRIDDEN | en_us.t[6090] |
getVocabMatchList (resolver, results, extraFlags) OVERRIDDEN | en_us.t[6086] |