ChaseKolozsy / TreeLex

(In Development) Automates the process of finding definitions and phrases where only one unknown word exists in the phrase and all words are known in the definition by having AI generate the definitions or modify the phrases to 1 unknown word. Keeps track of all phrases encountered and sorts them based on how many unknown words are in them.
1 stars 0 forks source link

add adjudication for definition matching #27

Closed ChaseKolozsy closed 2 weeks ago

ChaseKolozsy commented 2 weeks ago

it should rely on an adjudicator to match word with definition based on a list of words when "familiar" is True.

ChaseKolozsy commented 2 weeks ago

this is specifically for the loader script. the script will need to import Matcher from matcher.py and use it to match the lemma to the definition. If a definition does not exist, it will first be created in the database. It will also create a backup json file that can be used to reload the script during development.