• Sharing
  • Captionz Trove
  • Captionz
  • PDF Reader
  • Register
  • Login
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
319
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.
  • O
    Oleg Lapchynskyi
    last edited by 26 Nov 2024, 16:35

    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?

    R 1 Reply Last reply 26 Nov 2024, 20:27 Reply Quote 1
    • R
      river @Oleg Lapchynskyi
      last edited by river 26 Nov 2024, 20:27

      @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
      • R
        river
        last edited by 26 Nov 2024, 20:29

        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.

        O 1 Reply Last reply 27 Nov 2024, 10:40 Reply Quote 0
        • O
          Oleg Lapchynskyi @river
          last edited by 27 Nov 2024, 10:40

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

          R 2 Replies Last reply 27 Nov 2024, 19:14 Reply Quote 1
          • R
            river @Oleg Lapchynskyi
            last edited by 27 Nov 2024, 19:14

            @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
            • R
              river @Oleg Lapchynskyi
              last edited by 15 Dec 2024, 16:44

              @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
                20 days ago
                1
                3
                85

              • Train Chinese
                S
                shshgh
                9 days ago
                0
                2
                35

              • Lookup history not working
                O
                Oleg Lapchynskyi
                27 days ago
                1
                2
                81

              • Youglish for Polish
                V
                Victor 0
                15 days ago
                1
                1
                40

              • CNTRL dictionary
                B
                bimbim
                16 days ago
                1
                1
                42

              • Le Robert French dictionary
                B
                bimbim
                16 days ago
                1
                1
                39

              • Larousse English > French
                B
                bimbim
                16 days ago
                1
                1
                38

              • Larousse French > English
                B
                bimbim
                16 days ago
                1
                1
                41
              Buy Me A Coffee Support me!
              Powered by pnlpal open-source | Based on NodeBB