Crate wiktionary_part_of_speech_extract[][src]

Expand description
cargo run regenerate --release enwiktionary-pages-*.xml # regenerate "words.fst" binary
cargo publish # publish lib including "words.fst" binary

Usage

use wiktionary_part_of_speech_extract::{ENGLISH_TAG_LOOKUP, TagSet, Tag};

assert_eq!(Some(TagSet::of(&[Tag::Noun, Tag::Verb])), ENGLISH_TAG_LOOKUP.get("harbor"));

Structs

Map

Map is a lexicographically ordered map from byte strings to integers.

TagSet
TagsBuilder
TagsLookup

Enums

Tag

Statics

ENGLISH_TAG_LOOKUP