private void loadServerParameters ( ) { serverParser . addArgument ( "-p" , "--port" ) . required ( true ) . help ( "Port to be assigned to the server.\n" ) ; serverParser . addArgument ( "-m" , "--model" ) . required ( true ) . help ( "It is required to provide a model to perform POS tagging." ) ; this . serverParser . addArgument ( "-lm" , "--lemmatizerModel" ) . required ( true ) . help ( "It is required to provide a lemmatizer model." ) ; serverParser . addArgument ( "-l" , "--language" ) . choices ( "de" , "en" , "es" , "eu" , "fr" , "gl" , "it" , "nl" ) . required ( true ) . help ( "Choose a language to perform annotation with ixa-pipe-pos." ) ; serverParser . addArgument ( "--beamSize" ) . required ( false ) . setDefault ( DEFAULT_BEAM_SIZE ) . help ( "Choose beam size for decoding, it defaults to 3." ) ; serverParser . addArgument ( "-o" , "--outputFormat" ) . required ( false ) . choices ( "naf" , "conll" ) . setDefault ( Flags . DEFAULT_OUTPUT_FORMAT ) . help ( "Choose output format; it defaults to NAF.\n" ) ; serverParser . addArgument ( "-mw" , "--multiwords" ) . action ( Arguments . storeTrue ( ) ) . help ( "Use to detect and process multiwords.\n" ) ; serverParser . addArgument ( "-d" , "--dictag" ) . action ( Arguments . storeTrue ( ) ) . help ( "Post process POS tagger output with a monosemic dictionary.\n" ) ; serverParser . addArgument ( "-a" , "--allMorphology" ) . action ( Arguments . storeTrue ( ) ) . help ( "Print all the POS tags and lemmas before disambiguation.\n" ) ; }
Create the available parameters for POS tagging .