Struct rhyme::Rhyme[][src]

pub struct Rhyme(_);

Wrapper around the Cmudict type

Methods

impl Rhyme
[src]

Constructs a new Rhyme struct

Will download a copy of the CMU Pronunciation dictionary. Use Rhyme::from_path if you want to use an already-saved copy of the dictionary

Constructs a new Rhyme object with the specified CMU Pronunciation dictionary

Looks up the two words and returns whether they exist or not

Returns None if one or both of the words are not in the dictionary

Auto Trait Implementations

impl Send for Rhyme

impl Sync for Rhyme