private Properties setAnnotateProperties ( final String model , final String lemmatizerModel , final String language , final String multiwords , final String dictag ) { final Properties annotateProperties = new Properties ( ) ; annotateProperties . setProperty ( "model" , model ) ; annotateProperties . setProperty ( "lemmatizerModel" , lemmatizerModel ) ; annotateProperties . setProperty ( "language" , language ) ; annotateProperties . setProperty ( "multiwords" , multiwords ) ; annotateProperties . setProperty ( "dictag" , dictag ) ; return annotateProperties ; }
Generate Properties objects for CLI usage .