Crate hyphenation_commons [] [src]

Data structures and methods for parsing and applying Knuth-Liang hyphenation patterns and exceptions.

Structs

Exceptions

A specialized hash map of pattern-score pairs.

Patterns

A basic trie, used to associate patterns to their hyphenation scores.

Traits

KLPTrie

Type Definitions

KLPair

A pair representing a Knuth-Liang hyphenation pattern. It comprises alphabetical characters for subword matching and the score of each hyphenation point.