polh-lexicon-0.2: A library for manipulating the historical dictionary of Polish

Safe HaskellNone

NLP.Polh.Util

Description

Some utility functions for working with the dictionary.

Synopsis

Documentation

allForms :: LexEntry -> [Text]Source

All format (base form + other forms) of the lexeme.

hasForm :: LexEntry -> Text -> BoolSource

Does lexeme take the given form?

addForm :: WordForm -> LexEntry -> LexEntrySource

Add new word form to the lexeme description.