Text Categorization

StWsd System Options

StWsd system option is the top level option that most used by users. It includes showing help menu, showing configuration information, specifying the input file, output file, and configuration file, showing version, showing prompt, and show all Semantic Types information.

The table below lists all system options for this tool

  • Main option:

    Option FlagFeature Descriptions
    -aw:STRSpecify ambiguous word (must)
    -can:STRSpecify ST candidates in abbreviation (must)
    -ciShow configuration information
    -dShow detail information
    -hPrint program help menu
    -i:STRSpecify input file. The default is standard input
    -o:STRSpecify output file. The default is standard output
    -pShow the prompt. The default is no prompt
    -rUse real-time method (Stri)
    -rv:STRRun specified version of TC data set
    -s:INTSpecify score type (0:WC, 1:DC, 2:CS)
    -stShow information of all STs
    -uasUse ambiguous sentences
    -vPrint the current version identification of StWsd
    -x:STRSpecify an alternative configuration file