Method Encode
Encode(String)
Encodes a string to its phonetic representation.
Declaration
public virtual string Encode(string input)
Parameters
Type | Name | Description |
---|---|---|
System.String | input | The string to encode. |
Returns
Type | Description |
---|---|
System.String | The encoding of the input. |
Encode(String, LanguageSet)
Encodes an input string into an output phonetic representation, given a set of possible origin languages.
Declaration
public virtual string Encode(string input, LanguageSet languageSet)
Parameters
Type | Name | Description |
---|---|---|
System.String | input | String to phoneticise; a string with dashes or spaces separating each word. |
LanguageSet | languageSet |
Returns
Type | Description |
---|---|
System.String | A phonetic representation of the input; a string containing '-'-separated phonetic representations of the input. |