C# Class ABB.Swum.WordData.PartOfSpeechData

Encapsulates a collection of word part-of-speech data.
Mostrar archivo Open project: abb-iss/Swum.NET Class Usage Examples

Public Methods

Method Description
IsAdjective ( string word ) : bool

Indicates whether the given word is an adjective.

IsAdverb ( string word ) : bool

Indicates whether the given word is an adverb.

IsDeterminer ( string word ) : bool

Indicates whether the given word is a determiner, e.g. the, this, that.

IsEventWord ( string word ) : bool

Indicates whether the given word relates generally to the execution of an event, e.g. start, begin, finish, int.

IsGeneralVerb ( string word ) : bool

Indicates whether the given word is a general verb.

IsIgnorableHeadWord ( string word ) : bool

Indicates whether the given word is an ignorable head word.

IsIgnorableVerb ( string word ) : bool

Indicates whether the given word is an ignorable verb.

IsModalVerb ( string word ) : bool

Indicates whether the given word is a modal verb, e.g. can, should, will.

IsNoun ( string word ) : bool

Indicates whether the given word is a noun.

IsPastParticiple ( string word ) : bool

Indicates whether the given word is in past participle form, e.g. -ed

IsPastTense ( string word ) : bool

Indicates whether the given word is in past tense.

IsPotentialVerb ( string word ) : bool

Indicates whether the given word is potentially a verb.

IsPreposition ( string word ) : bool

Indicates whether the given word is a preposition.

IsPresentParticiple ( string word ) : bool

Indicates whether the given word is in present participle form, e.g. -ing

IsPronoun ( string word ) : bool

Indicates whether the given word is a pronoun.

IsSideEffectWord ( string word ) : bool

Indicates whether the given word indicates that a method might have some side effect, e.g. log, notify, throw.

IsThirdPersonIrregularVerb ( string word ) : bool

Indicates whether the given word is an irregular third person singular verb.

IsThirdPersonSingularVerb ( string word ) : bool

Indicates whether the given word is a verb in third person singular tense.

IsTwoLetterDictionaryWord ( string word ) : bool

Indicates whether the given word is a two letter word that appears in the dictionary.

IsVerbParticle ( string verb, string word ) : bool

Indicates whether the given word is a verb particle. For example, in "pick up", "pick" is a verb and "up" is a verb particle.

Method Details

IsAdjective() public abstract method

Indicates whether the given word is an adjective.
public abstract IsAdjective ( string word ) : bool
word string The word to test.
return bool

IsAdverb() public abstract method

Indicates whether the given word is an adverb.
public abstract IsAdverb ( string word ) : bool
word string The word to test.
return bool

IsDeterminer() public abstract method

Indicates whether the given word is a determiner, e.g. the, this, that.
public abstract IsDeterminer ( string word ) : bool
word string The word to test.
return bool

IsEventWord() public abstract method

Indicates whether the given word relates generally to the execution of an event, e.g. start, begin, finish, int.
public abstract IsEventWord ( string word ) : bool
word string The word to test.
return bool

IsGeneralVerb() public abstract method

Indicates whether the given word is a general verb.
public abstract IsGeneralVerb ( string word ) : bool
word string The word to test.
return bool

IsIgnorableHeadWord() public abstract method

Indicates whether the given word is an ignorable head word.
public abstract IsIgnorableHeadWord ( string word ) : bool
word string The word to test.
return bool

IsIgnorableVerb() public abstract method

Indicates whether the given word is an ignorable verb.
public abstract IsIgnorableVerb ( string word ) : bool
word string The word to test.
return bool

IsModalVerb() public abstract method

Indicates whether the given word is a modal verb, e.g. can, should, will.
public abstract IsModalVerb ( string word ) : bool
word string The word to test.
return bool

IsNoun() public abstract method

Indicates whether the given word is a noun.
public abstract IsNoun ( string word ) : bool
word string The word to test.
return bool

IsPastParticiple() public abstract method

Indicates whether the given word is in past participle form, e.g. -ed
public abstract IsPastParticiple ( string word ) : bool
word string The word to test.
return bool

IsPastTense() public abstract method

Indicates whether the given word is in past tense.
public abstract IsPastTense ( string word ) : bool
word string The word to test.
return bool

IsPotentialVerb() public abstract method

Indicates whether the given word is potentially a verb.
public abstract IsPotentialVerb ( string word ) : bool
word string The word to test.
return bool

IsPreposition() public abstract method

Indicates whether the given word is a preposition.
public abstract IsPreposition ( string word ) : bool
word string The word to test.
return bool

IsPresentParticiple() public abstract method

Indicates whether the given word is in present participle form, e.g. -ing
public abstract IsPresentParticiple ( string word ) : bool
word string The word to test.
return bool

IsPronoun() public abstract method

Indicates whether the given word is a pronoun.
public abstract IsPronoun ( string word ) : bool
word string The word to test.
return bool

IsSideEffectWord() public abstract method

Indicates whether the given word indicates that a method might have some side effect, e.g. log, notify, throw.
public abstract IsSideEffectWord ( string word ) : bool
word string The word to test.
return bool

IsThirdPersonIrregularVerb() public abstract method

Indicates whether the given word is an irregular third person singular verb.
public abstract IsThirdPersonIrregularVerb ( string word ) : bool
word string The word to test.
return bool

IsThirdPersonSingularVerb() public abstract method

Indicates whether the given word is a verb in third person singular tense.
public abstract IsThirdPersonSingularVerb ( string word ) : bool
word string The word to test.
return bool

IsTwoLetterDictionaryWord() public abstract method

Indicates whether the given word is a two letter word that appears in the dictionary.
public abstract IsTwoLetterDictionaryWord ( string word ) : bool
word string The word to test.
return bool

IsVerbParticle() public abstract method

Indicates whether the given word is a verb particle. For example, in "pick up", "pick" is a verb and "up" is a verb particle.
public abstract IsVerbParticle ( string verb, string word ) : bool
verb string The verb to test the particle against.
word string The potential particle.
return bool