TextSanitiser

com.bahmanm.persianutils.TextSanitiser
object TextSanitiser

Utility for sanitising and normalising Persian text.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def sanitise(text: String, config: SanitiserConfig = ...): String

Sanitises the given Persian text according to the provided configuration.

Sanitises the given Persian text according to the provided configuration.

Value parameters

config

the sanitisation configuration options

text

the input text to sanitise

Attributes

Returns

the sanitised text