PNL
    • Sharing
    • Captionz Trove
    • Captionz
    • PDF Reader
    • Register
    • Login

    The phrase entry "got it in the bag" failed to get into history log
    Add to Dictionariez

    Feedback
    issue
    2
    6
    320
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Oleg LapchynskyiO
      Oleg Lapchynskyi
      last edited by

      1. open https://www.quora.com/What-does-the-phrase-got-it-in-the-bag-mean
      2. select "got it in the bag" in the first sentence
      3. invoke Dictionariez
      4. besides Urban Dictionary no other default dictionary includes "got it in the bag"
      5. check out your history - no "got it in the bag" in the history.

      WHY?

      riverR 1 Reply Last reply Reply Quote 1
      • riverR
        river @Oleg Lapchynskyi
        last edited by river

        @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.

        An atypical programmer making apps for educational purpose.

        1 Reply Last reply Reply Quote 0
        • riverR
          river
          last edited by

          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?

          An atypical programmer making apps for educational purpose.

          Oleg LapchynskyiO 1 Reply Last reply Reply Quote 0
          • Oleg LapchynskyiO
            Oleg Lapchynskyi @river
            last edited by

            @river

            "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-mean

            I 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 rule

            exclude from the lexeme function words
            Preposition
            Conjunction
            Determiner
            Auxiliary Verb
            Particle

            I 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.

            riverR 2 Replies Last reply Reply Quote 1
            • riverR
              river @Oleg Lapchynskyi
              last edited by

              @Oleg-Lapchynskyi
              Good suggestion. I will see what I can do.

              An atypical programmer making apps for educational purpose.

              1 Reply Last reply Reply Quote 0
              • riverR
                river @Oleg Lapchynskyi
                last edited by

                @Oleg-Lapchynskyi

                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.

                An atypical programmer making apps for educational purpose.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Popular topics
                • PDF Reader
                  D
                  dyess002
                  1
                  3
                  105

                • Train Chinese
                  S
                  shshgh
                  0
                  2
                  49

                • Youglish for Polish
                  Victor 0V
                  Victor 0
                  1
                  1
                  50

                • CNTRL dictionary
                  B
                  bimbim
                  1
                  1
                  52

                • Le Robert French dictionary
                  B
                  bimbim
                  1
                  1
                  50

                • Larousse English > French
                  B
                  bimbim
                  1
                  1
                  52

                • Larousse French > English
                  B
                  bimbim
                  1
                  1
                  54

                • Lookup history not working
                  Oleg LapchynskyiO
                  Oleg Lapchynskyi
                  1
                  2
                  189
                Buy Me A Coffee Support me!
                Powered by pnlpal open-source | Based on NodeBB