Uploaded image for project: 'OpenNLP'
  1. OpenNLP
  2. OPENNLP-331

disagreement between POS of parser and POStagger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Similarity
    • None

    Description

      ParserTool.parseLine(sentence, parser, 1) gives:
      How can I get short focus zoom lens for digital camera
      type = S
      type = WHADVP
      type = WRB, word = How
      type = SQ
      type = MD, word = can
      type = NP
      type = PRP, word = I
      type = VP
      type = VB, word = get
      type = NP
      type = JJ, word = short
      type = NN, word = focus
      type = NN, word = zoom // ZOOM is NOUN: correct
      type = NN, word = lens
      type = PP
      type = IN, word = for
      type = NP
      type = JJ, word = digital
      type = NN, word = camera
      BUT

      new POSTaggerME(model).tag(toks);
      gives
      [WRB, MD, PRP, VB, JJ, NN, VBN, NN, IN, JJ, NN]
      ****
      VBN is a problem!
      zoom is NOT VBN - Verb, past participle

      Attachments

        1. patch.OPENNLP-331-1.txt
          50 kB
          Boris Galitsky
        2. patch.OPENNLP-331.txt
          16 kB
          Boris Galitsky

        Activity

          People

            bgalitsky Boris Galitsky
            bgalitsky Boris Galitsky
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified