diff --git a/src/translators/latin_to_english/parser.rs b/src/translators/latin_to_english/parser.rs index fcb6cbd..3e398bc 100644 --- a/src/translators/latin_to_english/parser.rs +++ b/src/translators/latin_to_english/parser.rs @@ -54,6 +54,7 @@ pub fn find_form(latin_word: &str, reduced: bool) -> Option<Vec<LatinTranslation output } +//??? weird issue, when word searched alone, 1 result but when with others, different result ("cur" vs "cur sum hic") fn check_stems( latin_word: &str, latin_word_inflections: &Vec<Inflection>, @@ -88,6 +89,7 @@ fn check_stems( std::process::exit(0); } }; + //???: Weird issue here where some words get inflections by should not (cur) if n_from_stem.len() == 1 && n_from_stem[0] != n_from_inflection[0] { continue; diff --git a/src/use_data/parsers/latin_dictionary_parser.rs b/src/use_data/parsers/latin_dictionary_parser.rs index 0932cc2..7f6b990 100644 --- a/src/use_data/parsers/latin_dictionary_parser.rs +++ b/src/use_data/parsers/latin_dictionary_parser.rs @@ -3,7 +3,6 @@ use crate::dictionary_structures::dictionary_values::LatinWordInfo; use crate::use_data::utils::word_fits_filters; use rand::Rng; -//TODO: Generate principle parts, and check for extension senses in parse. pub fn parse_latin_dictionary( dictionary: Vec<LatinWordInfo>, pos_list: Option<Vec<PartOfSpeech>>,