POETRIE
Poetrie means poetic trie. Poetrie is designated for searching common suffixes of words.
Usage
Note configuration to match behavior communicated via MatchConduct structure.
let mut poetrie = nw;
let words =
.map
.map;
for w in words
let mc = init
.max_n // unlimited matches count
.max_sl // only 'ics' or less but not '…rics'
.max_ml // only 8 or less length matches
.form
.unwrap;
let probe = new_from_str.unwrap;
let matchee = poetrie.sx;
let confirmation: =
.map.into;
let matchee = matchee.unwrap_or_default;
for m in matchee.iter
assert_eq!;
let mc = default;
let probe = new_from_str.unwrap;
assert_eq!;
let probe = new_from_str.unwrap;
assert_eq!;
Thinking about what could be good rhyming with word of choice, simple try search for that suffix directly. Let say, having "lyrics" as word without match, thinking it should rhyme with something ending with "ynx".
let mut poetrie = nw;
let words = .map.map;
for w in words
let probe = new_from_str.unwrap;
let mc = default;
let matchee = poetrie.sx;
assert_eq!;
Now, one goes: "As the paws in a snow, laid down by lightening lynx, my word goes there and forth, composing the aerial lyrics.".