Parser

abstract class Parser(dedup: Boolean, analyzer: Analyzer) : SynonymMap.Builder

Abstraction for parsing synonym files.

Inheritors

Constructors

Link copied to clipboard
constructor(dedup: Boolean, analyzer: Analyzer)

Functions

Link copied to clipboard
fun add(input: CharsRef, output: CharsRef, includeOrig: Boolean)
Link copied to clipboard

Sugar: analyzes the text with the analyzer and separates by SynonymMap.WORD_SEPARATOR.

Link copied to clipboard
Link copied to clipboard
abstract fun parse(input: Reader)