ttaw
talking to a wall, a piecemeal natural language processing library.
A couple caveats
- Double Metphone isn't a sure thing, it's a there's a "pretty good chance" thing. So there's the potential for behavior that deviates from what you'd expect.
- My implementation's aren't a sure thing either :smile: If you encounter anything peculiar or unexpected, please raise an issue :heart: :heart:
Functionality
- Determine if two words rhyme (perfect single, or general syllabic).
- Determine if there exists consecutive alliteration in an &str.
- Double Metaphone phonetic encoding, port of words/double-metahone library.
Rhyme
extern crate ttaw;
use pronounciation;
assert_eq!;
assert_eq!;
Alliteration
extern crate ttaw;
use pronounciation;
assert_eq!;
assert_eq!;
assert_eq!;
Double Metaphone
extern crate ttaw;
use pronounciation;
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;