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

Custom TokenNameFinder result is not valid

    XMLWordPrintableJSON

Details

    • Question
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.9.3
    • None
    • Name Finder
    • None

    Description

      If I run TokenNameFinderEvaluator after creating a custom model,  evaluation F1 is 100%.

      but if I test(TokenNameFinder) a document used for training and evaluation, the entity is not tagged.

       

       
      % opennlp.bat TokenNameFinderEvaluator -model test_model.bin -data eval.data
      Evaluated 5 samples with 1 entities; found: 1 entities; correct: 1.
      TOTAL: precision: 100.00%; recall: 100.00%; F1: 100.00%.
      micro: precision: 100.00%; recall: 100.00%; F1: 100.00%. [target: 1; tp: 1; fp: 0]
       
       
      % opennlp.bat TokenNameFinder test_model.bin < test.txt
      >>> Not Tagged Result
      How do I fix this issue?

      Attachments

        1. eval.data
          0.1 kB
          Yoonhee Park
        2. test_model.bin
          4 kB
          Yoonhee Park
        3. test.txt
          0.2 kB
          Yoonhee Park

        Activity

          People

            Unassigned Unassigned
            uni Yoonhee Park
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: