BinaryDictionaryWriter

abstract class BinaryDictionaryWriter<T : BinaryDictionary<out MorphData>>(implClazz: KClass<T>, entryWriter: DictionaryEntryWriter)

Abstract base dictionary writer class.

Constructors

Link copied to clipboard
constructor(implClazz: KClass<T>, entryWriter: DictionaryEntryWriter)

Functions

Link copied to clipboard
fun addMapping(sourceId: Int, wordId: Int)
Link copied to clipboard
open fun put(entry: Array<String>): Int

put the entry in map

Link copied to clipboard
abstract fun write(baseDir: Path)

Write whole dictionary in a directory.