C# Class ABB.Swum.WordData.PCKimmoPartOfSpeechData

Encapsulates part-of-speech data obtained from the PCKimmo/KTagger part-of-speech tagger.
Inheritance: PartOfSpeechData
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.

PCKimmoPartOfSpeechData ( ) : System

Creates a new PCKimmoPartOfSpeechData object using the default file locations for the part-of-speech data.

Method Details

IsAdjective() public méthode

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

IsAdverb() public méthode

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

IsDeterminer() public méthode

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

IsEventWord() public méthode

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

IsGeneralVerb() public méthode

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

IsIgnorableHeadWord() public méthode

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

IsIgnorableVerb() public méthode

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

IsModalVerb() public méthode

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

IsNoun() public méthode

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

IsPastParticiple() public méthode

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

IsPastTense() public méthode

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

IsPotentialVerb() public méthode

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

IsPreposition() public méthode

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

IsPresentParticiple() public méthode

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

IsPronoun() public méthode

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

IsSideEffectWord() public méthode

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

IsThirdPersonIrregularVerb() public méthode

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

IsThirdPersonSingularVerb() public méthode

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

IsTwoLetterDictionaryWord() public méthode

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

IsVerbParticle() public 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 IsVerbParticle ( string verb, string word ) : bool
verb string The verb to test the particle against.
word string The potential particle.
Résultat bool

PCKimmoPartOfSpeechData() public méthode

Creates a new PCKimmoPartOfSpeechData object using the default file locations for the part-of-speech data.
public PCKimmoPartOfSpeechData ( ) : System
Résultat System