Closed Garrafao closed 8 months ago
lexeme.py seems to contain only some helper functions. It only makes sense to keep them in this separate script if they need to be accessed by other scripts, too. Otherwise they should be merged.
Yes, lexeme contains the functions to annotate the individual instances. It could be merged but also kept separate, so that things like prediction_type (and binary vs multi threshold) can be kept separate and implemented in lexeme.
See #35 . It might make more sense to merge those two files but keep lexeme.py separate.
I have merged random_annotate.py and xl_lexeme_annotate.py into one script annotate.py that executes the whole annotation process. lexeme.py is called from within this script and handles the aspects that only concern xl-lexeme. 5031ea3
Lexeme.py should be renamed.
this means based on the annotator, 'XL-Lexeme-Binary', 'XL-Lexeme-Multi-Threshold', 'XL-Lexeme-Cosine' should be implemented in annotate.py?
'XL-Lexeme-Binary', 'XL-Lexeme-Multi-Threshold', 'XL-Lexeme-Cosine' has now been implemented in the annotate.py so the above question is not relevant any more, so we close this issue.
What is each conceptually doing? Can we merge them or remove one of the scripts? If we need to keep both, can we rename them to make their roles clear? @shafqatvirk @AinaIanemahy