C# Class ABB.Swum.WordData.PartOfSpeechData

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

Méthodes publiques

Méthode 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 méthode

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

IsAdverb() public abstract méthode

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

IsDeterminer() public abstract méthode

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.
Résultat bool

IsEventWord() public abstract méthode

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.
Résultat bool

IsGeneralVerb() public abstract méthode

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

IsIgnorableHeadWord() public abstract méthode

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

IsIgnorableVerb() public abstract méthode

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

IsModalVerb() public abstract méthode

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.
Résultat bool

IsNoun() public abstract méthode

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

IsPastParticiple() public abstract méthode

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.
Résultat bool

IsPastTense() public abstract méthode

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

IsPotentialVerb() public abstract méthode

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

IsPreposition() public abstract méthode

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

IsPresentParticiple() public abstract méthode

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.
Résultat bool

IsPronoun() public abstract méthode

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

IsSideEffectWord() public abstract méthode

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.
Résultat bool

IsThirdPersonIrregularVerb() public abstract méthode

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

IsThirdPersonSingularVerb() public abstract méthode

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.
Résultat bool

IsTwoLetterDictionaryWord() public abstract méthode

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.
Résultat bool

IsVerbParticle() public abstract méthode

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.
Résultat bool