C# 클래스 SILUBS.SharedScrUtils.CharacterCategorizer

파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SingleCharacterWords char[]

공개 메소드들

메소드 설명
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

메소드 상세

CharacterCategorizer() 공개 메소드

Use this constructor to default to Unicode character semantics.
public CharacterCategorizer ( ) : System
리턴 System

CharacterCategorizer() 공개 메소드

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.
리턴 System

DiacriticsFollowBaseCharacters() 공개 메소드

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

IsDiacritic() 공개 메소드

Determines whether the specified cc is diacritic.
public IsDiacritic ( char cc ) : bool
cc char The cc.
리턴 bool

IsLower() 공개 메소드

Determines whether the specified ch is lower.
public IsLower ( char ch ) : bool
ch char The ch.
리턴 bool

IsPunctuation() 공개 메소드

Determines whether the specified cc is punctuation.
public IsPunctuation ( char cc ) : bool
cc char The cc.
리턴 bool

IsSingleCharacterWord() 공개 메소드

Determines whether the specified character is a single character word.
public IsSingleCharacterWord ( char cc ) : bool
cc char The specified character.
리턴 bool

IsTitle() 공개 메소드

Determines whether the specified ch is title.
public IsTitle ( char ch ) : bool
ch char The ch.
리턴 bool

IsUpper() 공개 메소드

Determines whether the specified ch is upper.
public IsUpper ( char ch ) : bool
ch char The ch.
리턴 bool

IsWordFormingCharacter() 공개 메소드

Determines whether a character is a word forming character.
public IsWordFormingCharacter ( char cc ) : bool
cc char The specified character.
리턴 bool

IsWordMedialPunctuation() 공개 메소드

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

ToLower() 공개 메소드

Toes the lower.
public ToLower ( string str ) : string
str string The STR.
리턴 string

ToUpper() 공개 메소드

Toes the upper.
public ToUpper ( string str ) : string
str string The STR.
리턴 string

WordAndPuncts() 공개 메소드

public WordAndPuncts ( string text ) : List
text string
리턴 List

프로퍼티 상세

SingleCharacterWords 공개적으로 정적으로 프로퍼티

public static char[] SingleCharacterWords
리턴 char[]