Метод | Описание | |
---|---|---|
ApplyHalfSpaceRule ( this text ) : string |
Adds zwnj char between word and prefix/suffix
|
|
ApplyModeratePersianRules ( this text ) : string | ||
ApplyPersianYeKe ( this text ) : string |
Fixes common writing mistakes caused by using a bad keyboard layout, such as replacing Arabic Ye with Persian one and so on ...
|
|
CleanupExtraMarks ( this text ) : string |
Replaces more than one ! or ? mark with just one
|
|
CleanupZwnj ( this text ) : string |
Removes unnecessary zwnj char that are succeeded/preceded by a space
|
|
ContainsFarsi ( this text ) : bool |
Does text contain Persian characters?
|
|
YeHeHalfSpace ( this text ) : string |
Converts ه ی to هی
|
public static ApplyHalfSpaceRule ( this text ) : string | ||
text | this | Text to process |
Результат | string |
public static ApplyModeratePersianRules ( this text ) : string | ||
text | this | |
Результат | string |
public static ApplyPersianYeKe ( this text ) : string | ||
text | this | Text to process |
Результат | string |
public static CleanupExtraMarks ( this text ) : string | ||
text | this | Text to process |
Результат | string |
public static CleanupZwnj ( this text ) : string | ||
text | this | Text to process |
Результат | string |
public static ContainsFarsi ( this text ) : bool | ||
text | this | Text to process |
Результат | bool |
public static YeHeHalfSpace ( this text ) : string | ||
text | this | Text to process |
Результат | string |