Class StringPattern

Namespace
NOpenNLP.Tools.Util.Featuregen
Assembly
NOpenNLP.Tools.dll

Recognizes predefined patterns in strings.

public class StringPattern
Inheritance
StringPattern
Inherited Members

Properties

ContainsComma

public virtual bool ContainsComma { get; }

Property Value

bool

ContainsDigit

public virtual bool ContainsDigit { get; }

Property Value

bool

ContainsHyphen

public virtual bool ContainsHyphen { get; }

Property Value

bool

ContainsLetters

public virtual bool ContainsLetters { get; }

Property Value

bool

ContainsPeriod

public virtual bool ContainsPeriod { get; }

Property Value

bool

ContainsSlash

public virtual bool ContainsSlash { get; }

Property Value

bool

Digits

Retrieves the number of digits.

public virtual int Digits { get; }

Property Value

int

IsAllCapitalLetter

public virtual bool IsAllCapitalLetter { get; }

Property Value

bool

true if all letters are capital.

IsAllDigit

public virtual bool IsAllDigit { get; }

Property Value

bool

true if all chars are digits.

IsAllHiragana

public virtual bool IsAllHiragana { get; }

Property Value

bool

true if all chars are hiragana.

IsAllKatakana

public virtual bool IsAllKatakana { get; }

Property Value

bool

true if all chars are katakana.

IsAllLetter

public virtual bool IsAllLetter { get; }

Property Value

bool

true if all characters are letters.

IsAllLowerCaseLetter

public virtual bool IsAllLowerCaseLetter { get; }

Property Value

bool

true if all letters are lower case.

IsInitialCapitalLetter

public virtual bool IsInitialCapitalLetter { get; }

Property Value

bool

true if first letter is capital.

Methods

Recognize(string)

public static StringPattern Recognize(string token)

Parameters

token string

Returns

StringPattern