The phrase entry "got it in the bag" failed to get into history log
-
- open https://www.quora.com/What-does-the-phrase-got-it-in-the-bag-mean
- select "got it in the bag" in the first sentence
- invoke Dictionariez
- besides Urban Dictionary no other default dictionary includes "got it in the bag"
- check out your history - no "got it in the bag" in the history.
WHY?
-
@Oleg-Lapchynskyi
As you can see, a "sentence" with 5 words is hardly a phrase. I didn't put it in the history because it's a "sentence" for translation, instead of a word that you could add it into Anki afterward. Currently I have only a very simple check for determining if the input text is a sentence or not, if it's longer than 3 words, then it's a sentence. -
It's hidden in the logic, also because the browser has very limited space for saving history. So I did it very sparingly. What's your thought?
-
"got it in the bag" is not a sentence; it is a multi-word lexeme (bigger than word, less than sentence), evidently, an idiom
https://dictionary.cambridge.org/dictionary/english/be-in-the-bag
https://www.quora.com/What-does-the-phrase-got-it-in-the-bag-meanI suggest expanding the inclusion limit from "three words" to "three content words" or even to "four content words"
content words are nouns, verbs, adjectives, and adverbs.
as the content words magnitude is hundreds of thousands, it is practical to go with the exclusion ruleexclude from the lexeme function words
Preposition
Conjunction
Determiner
Auxiliary Verb
ParticleI estimate the enumeration of function words to be under a hundred, maybe two hundred.
after the exclusion of function words, the lexeme will be reduced to only content words (in our case - "got bag"; surely within your limit).
If the number of words is less than 4 (or 5) it is highly likely that we have a phrase at hand. Worthwhile of learning, hence storing in history. -
@Oleg-Lapchynskyi
Good suggestion. I will see what I can do. -
Thanks for your suggestion. I added the logic to ignore some stop words when the text is selected. I hope v5.3.0 could solve most of the problem here.
Trends
Dictionariez is an open-source tool that assists you in language learning; it supports multiple languages and offers a diverse collection of dictionaries.
Translate texts, images, and audio to 100+ languages instantly. Use TextPixie’s AI translator for fast, accurate, and contextually appropriate translations.
Improve your team's collaboration and performance with retrospective meetings! Retro meetings promote openness, using engaging formats and setting clear agendas. The team assess their way of working and decides how to adjust it for the better. The Retros log is a practical toolkit for teams committed to their continuous improvement. With a defined structure, you can log the details about each meetings and the agreements. It includes an extensive step-by-step guide with recommendations, and links to icebreakers and more retro formats!