TextNormalizer

esc.normalization.TextNormalizer

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def normalize(text: String): String

Default normalize method.

Default normalize method.

Value parameters

text

The string, e.g. a full name, to normalize.

Attributes

Returns

Return the normalized String.

def normalizeNameElement(nameElement: String): String

This method normalize a single name element - not a full name. Actually there are some normalizations for Russian and Chinese names.

This method normalize a single name element - not a full name. Actually there are some normalizations for Russian and Chinese names.

Value parameters

nameElement

String representing the name element.

Attributes

Returns

Return a normalized String.

def normalizeWithLegalForm(text: String): String

Special normalize method for organisation names. This method take care of some legal forms with more than one word/name element. Example: GmbH & Co. KG. This method first call normalize itself.

Special normalize method for organisation names. This method take care of some legal forms with more than one word/name element. Example: GmbH & Co. KG. This method first call normalize itself.

Value parameters

text

The string, e.g. a full name, to normalize.

Attributes

Returns

Return a normalized String.