I have the following query against a database of Chinese characters, where py
-- is the transcription.
cursor.execute('''' SELECT * FROM words_ch WHERE py LIKE %s''', (str(word),'')))
As we know there in Chinese are several tones: ā, á, ǎ, à etc.
I expected to get strings where py == māo, but I get strings with all tones māo máo máo mǎo mào.
What is this related to?
Is it possible to fix it so that the query accuracy is higher?