A simple python library to find rhymes of hindi words
Import the following modules to your project
from Rhime.rhime import Rhime
from Rhime.ipa import IpaRhymeLoad the words from a file
rhyme = Rhime()
rhyme.load_words_frm_file('path/to/file1.txt') # Creates a list Rhyme.words
rhyme.load_words_frm_file('path/to/file2.txt') # Appends words from file2.txt to Rhyme.wordsFor IPA based rhyme:
word = "तुकांत"
ipa = IpaRhyme(rhyme)
print(ipa.get_ipa_rhyme(word))