OpenCog

Word properties

From OpenCog

RelEx will tag individual words in a sentence with many different possible properties or features.

For example:

tense(invent, past)
pos(invent, verb)
pos(sliced, adj)
noun_number(bread, uncountable)
pos(bread, noun)
tense(do, past_infinitive)
HYP(do, T)
DEFINITE-FLAG(it, T)
gender(it, neuter)
PRONOUN-FLAG(it, T)
pos(it, noun)
pos(?, punctuation)
QUERY-TYPE(_$qVar, when)


The various features are shown in the table below. This table is attempting to be authoritative.

Simple Name Examples XML name Possible values FeatureNode name
Date 2 January 1967 date DATE-FLAG
Emoticon  ;-) :-@ emoticon EMOTICON-FLAG
Entity entity ENTITY-FLAG
Gender He, she, John, Mary, Pat gender masculine, feminine, person, neuter gender
Idiom - idiomatic phrases identified by parser some_more idiom IDIOM-FLAG
Location New York location LOCATION-FLAG
Money Two dollars money MONEY-FLAG
Number number singular, plural, uncountable noun_number
Organization IBM Corp. organization ORGANIZATION-FLAG
PartOfSpeech pos adjective, adverb, conjunction, determiner, noun, particle, preposition, punctuation, verb POS
Person He, she, John, Mary, Pat person PERSON-FLAG
Polyword -- phrasal verbs w/ particle, comparisons w/ particle go_away, as_many polyword POLYWORD-FLAG
Quantification The, it quantification definite DEFINITE-FLAG
Query query how, how_much, what, when, where, which, who, why QUERY-TYPE
Tense tense future, future progressive, imperative, infinitive, past, past infinitive, past progressive, perfect, present, present progressive, progressive tense

If a phrase is tagged with a part-of-speech of "verb" and is also tagged as a polyword, it should be understood to be a phrasal verb.