C# Класс ABB.Swum.WordData.PCKimmoPartOfSpeechData

Encapsulates part-of-speech data obtained from the PCKimmo/KTagger part-of-speech tagger.
Наследование: PartOfSpeechData
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Описание методов

IsAdjective() публичный метод

Indicates whether the given word is an adjective.
public IsAdjective ( string word ) : bool
word string The word to test.
Результат bool

IsAdverb() публичный метод

Indicates whether the given word is an adverb.
public IsAdverb ( string word ) : bool
word string The word to test.
Результат bool

IsDeterminer() публичный метод

Indicates whether the given word is a determiner, e.g. the, this, that.
public IsDeterminer ( string word ) : bool
word string The word to test.
Результат bool

IsEventWord() публичный метод

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.
Результат bool

IsGeneralVerb() публичный метод

Indicates whether the given word is a general verb.
public IsGeneralVerb ( string word ) : bool
word string The word to test.
Результат bool

IsIgnorableHeadWord() публичный метод

Indicates whether the given word is an ignorable head word.
public IsIgnorableHeadWord ( string word ) : bool
word string The word to test.
Результат bool

IsIgnorableVerb() публичный метод

Indicates whether the given word is an ignorable verb.
public IsIgnorableVerb ( string word ) : bool
word string The word to test.
Результат bool

IsModalVerb() публичный метод

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.
Результат bool

IsNoun() публичный метод

Indicates whether the given word is a noun.
public IsNoun ( string word ) : bool
word string The word to test.
Результат bool

IsPastParticiple() публичный метод

Indicates whether the given word is in past participle form, e.g. -ed
public IsPastParticiple ( string word ) : bool
word string The word to test.
Результат bool

IsPastTense() публичный метод

Indicates whether the given word is in past tense.
public IsPastTense ( string word ) : bool
word string The word to test.
Результат bool

IsPotentialVerb() публичный метод

Indicates whether the given word is potentially a verb.
public IsPotentialVerb ( string word ) : bool
word string The word to test.
Результат bool

IsPreposition() публичный метод

Indicates whether the given word is a preposition.
public IsPreposition ( string word ) : bool
word string The word to test.
Результат bool

IsPresentParticiple() публичный метод

Indicates whether the given word is in present participle form, e.g. -ing
public IsPresentParticiple ( string word ) : bool
word string The word to test.
Результат bool

IsPronoun() публичный метод

Indicates whether the given word is a pronoun.
public IsPronoun ( string word ) : bool
word string The word to test.
Результат bool

IsSideEffectWord() публичный метод

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.
Результат bool

IsThirdPersonIrregularVerb() публичный метод

Indicates whether the given word is an irregular third person singular verb.
public IsThirdPersonIrregularVerb ( string word ) : bool
word string The word to test.
Результат bool

IsThirdPersonSingularVerb() публичный метод

Indicates whether the given word is a verb in third person singular tense.
public IsThirdPersonSingularVerb ( string word ) : bool
word string The word to test.
Результат bool

IsTwoLetterDictionaryWord() публичный метод

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.
Результат bool

IsVerbParticle() публичный метод

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.
Результат bool

PCKimmoPartOfSpeechData() публичный метод

Creates a new PCKimmoPartOfSpeechData object using the default file locations for the part-of-speech data.
public PCKimmoPartOfSpeechData ( ) : System
Результат System