Click or drag to resize

transliterationTooltransliterate Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

[This is preliminary documentation and is subject to change.]

Transliterates the inputString according to specified language identifier for the source.

Namespace:  imbNLP.Transliteration
Assembly:  imbNLP.Transliteration (in imbNLP.Transliteration.dll) Version: 0.2.1.1
Syntax
C#
public static string transliterate(
	this string inputString,
	string id_of_source = "sr_cyr",
	bool inverse = false
)

Parameters

inputString
Type: SystemString
The input string, to be transliterated
id_of_source (Optional)
Type: SystemString
The identifier of the source string
inverse (Optional)
Type: SystemBoolean
Should the transliteration be in opposite direction?

Return Value

Type: String
Transliterated text

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionid_of_source - Transliteration definition not found for [" + id_of_source + "]
Remarks