Problem in ApplyAnnotator

Help
Prakash
2011-10-12
2013-04-26
  • Prakash
    Prakash
    2011-10-12

    java -Xmx900m edu.cmu.minorthird.ui.ApplyAnnotator -format xml =labels "/home/dinf/informationextraction/Document/NoTag/" -loadForm "/home/dinf/informationextraction/TrainExtractor/date.ann" -saveAs "/home/dinf/informationextraction/ApplyAnnotator"

    but still there is problem, it reflect the such message.

    *** Minorthird: Version 13.7.10.8 ***
    option: format=xml
    WARN  Unknown arguments =labels /home/dinf/informationextraction/Document/NoTag/ will be ignored
    WARN  Unknown arguments -loadForm /home/dinf/informationextraction/TrainExtractor/date.ann will be ignored
    option: saveAs=/home/dinf/informationextraction/ApplyAnnotator
    java.lang.IllegalArgumentException: -labels must be specified
        at edu.cmu.minorthird.ui.UIMain.callMain(UIMain.java:86)
        at edu.cmu.minorthird.ui.ApplyAnnotator.main(ApplyAnnotator.java:124)
    Use option -help for help

     
  • Frank Lin
    Frank Lin
    2011-10-12

    should be "-labels" instead of "=labels"
    should be "-loadFrom" instead of "-loadForm"

     
  • Prakash
    Prakash
    2011-10-12

    ooo its just a and syntax mistake…

    Thanks Frank..