public Properties setChunkingProperties ( final String model , final String language ) { final Properties annotateProperties = new Properties ( ) ; annotateProperties . setProperty ( "model" , model ) ; annotateProperties . setProperty ( "language" , language ) ; return annotateProperties ; }
Generate Properties object for chunking . Both parameters are compulsory .