C# Class SILUBS.SharedScrUtils.CharacterCategorizer

Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Свойство Type Description
SingleCharacterWords char[]

Méthodes publiques

Méthode Description
CharacterCategorizer ( ) : System

Use this constructor to default to Unicode character semantics.

CharacterCategorizer ( string _wordFormingCharacters, string wordMedialPunct, string _diacriticCharacters ) : System

This constructor allows overriding Unicode character semantics for use with hacked fonts.

DiacriticsFollowBaseCharacters ( ) : bool

Diacritics always follow base characters in Unicode. In hacked fonts this may not be true.

IsDiacritic ( char cc ) : bool

Determines whether the specified cc is diacritic.

IsLower ( char ch ) : bool

Determines whether the specified ch is lower.

IsPunctuation ( char cc ) : bool

Determines whether the specified cc is punctuation.

IsSingleCharacterWord ( char cc ) : bool

Determines whether the specified character is a single character word.

IsTitle ( char ch ) : bool

Determines whether the specified ch is title.

IsUpper ( char ch ) : bool

Determines whether the specified ch is upper.

IsWordFormingCharacter ( char cc ) : bool

Determines whether a character is a word forming character.

IsWordMedialPunctuation ( char cc ) : bool

Determines whether [is word medial punctuation] [the specified cc].

ToLower ( string str ) : string

Toes the lower.

ToUpper ( string str ) : string

Toes the upper.

WordAndPuncts ( string text ) : List

Method Details

CharacterCategorizer() public méthode

Use this constructor to default to Unicode character semantics.
public CharacterCategorizer ( ) : System
Résultat System

CharacterCategorizer() public méthode

This constructor allows overriding Unicode character semantics for use with hacked fonts.
public CharacterCategorizer ( string _wordFormingCharacters, string wordMedialPunct, string _diacriticCharacters ) : System
_wordFormingCharacters string The _word forming characters.
wordMedialPunct string The word medial punct.
_diacriticCharacters string The _diacritic characters.
Résultat System

DiacriticsFollowBaseCharacters() public méthode

Diacritics always follow base characters in Unicode. In hacked fonts this may not be true.
public DiacriticsFollowBaseCharacters ( ) : bool
Résultat bool

IsDiacritic() public méthode

Determines whether the specified cc is diacritic.
public IsDiacritic ( char cc ) : bool
cc char The cc.
Résultat bool

IsLower() public méthode

Determines whether the specified ch is lower.
public IsLower ( char ch ) : bool
ch char The ch.
Résultat bool

IsPunctuation() public méthode

Determines whether the specified cc is punctuation.
public IsPunctuation ( char cc ) : bool
cc char The cc.
Résultat bool

IsSingleCharacterWord() public méthode

Determines whether the specified character is a single character word.
public IsSingleCharacterWord ( char cc ) : bool
cc char The specified character.
Résultat bool

IsTitle() public méthode

Determines whether the specified ch is title.
public IsTitle ( char ch ) : bool
ch char The ch.
Résultat bool

IsUpper() public méthode

Determines whether the specified ch is upper.
public IsUpper ( char ch ) : bool
ch char The ch.
Résultat bool

IsWordFormingCharacter() public méthode

Determines whether a character is a word forming character.
public IsWordFormingCharacter ( char cc ) : bool
cc char The specified character.
Résultat bool

IsWordMedialPunctuation() public méthode

Determines whether [is word medial punctuation] [the specified cc].
public IsWordMedialPunctuation ( char cc ) : bool
cc char The cc.
Résultat bool

ToLower() public méthode

Toes the lower.
public ToLower ( string str ) : string
str string The STR.
Résultat string

ToUpper() public méthode

Toes the upper.
public ToUpper ( string str ) : string
str string The STR.
Résultat string

WordAndPuncts() public méthode

public WordAndPuncts ( string text ) : List
text string
Résultat List

Property Details

SingleCharacterWords public_oe static_oe property

public static char[] SingleCharacterWords
Résultat char[]