Closed ChaseKolozsy closed 1 day ago
The default protocol might just be to return a boolean, as in if True create your own definition, if False, don't create a definition, True means that it couldn't find a definition to match the word in the online dict so it must be generated by the definition_generator. This might happen for words that include conjugations or prepositions or suppositions glued onto the word
if a definition lookup in the online dictionary results in a 404, have a protocol for dealing with that. For Japanese, it might attempt to add an "_" plus the hiragana, for another language something else