ScandinavianNormalizer

This Normalizer does the heavy lifting for a set of Scandinavian normalization filters, normalizing use of the interchangeable Scandinavian characters aeAEaeAEoeOEoeOE and folded variants (aa, ao, ae, oe and oo) by transforming them to aaAAaeAEoeOE.

Constructors

Link copied to clipboard
constructor(foldings: Set<ScandinavianNormalizer.Foldings>)

Types

Link copied to clipboard
object Companion
Link copied to clipboard

List of possible foldings that can be used when configuring the filter

Functions

Link copied to clipboard
fun processToken(buffer: CharArray, length: Int): Int

Takes the original buffer and length as input. Modifies the buffer in-place and returns new length