C# Class ABB.Swum.WordData.PCKimmoPartOfSpeechData

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

PCKimmoPartOfSpeechData ( ) : System

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

Method Details

IsAdjective() public method

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

IsAdverb() public method

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

IsDeterminer() public method

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

IsEventWord() public method

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.
return bool

IsGeneralVerb() public method

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

IsIgnorableHeadWord() public method

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

IsIgnorableVerb() public method

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

IsModalVerb() public method

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.
return bool

IsNoun() public method

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

IsPastParticiple() public method

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

IsPastTense() public method

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

IsPotentialVerb() public method

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

IsPreposition() public method

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

IsPresentParticiple() public method

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

IsPronoun() public method

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

IsSideEffectWord() public method

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.
return bool

IsThirdPersonIrregularVerb() public method

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

IsThirdPersonSingularVerb() public method

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

IsTwoLetterDictionaryWord() public method

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.
return bool

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

PCKimmoPartOfSpeechData() public method

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