public void testSingleSentenceNoChunkerNoPosConfig(){
TextAnalyzerConfig config = new TextAnalyzerConfig();
config.enablePosTagger(false);
config.enableChunker(true);//must be ignored for Chunks if no Pos
TextAnalyzer analyzer = new TextAnalyzer(openNLP,LANGUAGE,config);
AnalysedText analysed = analyzer.analyseSentence(SINGLE_SENTENCE);
assertNotNull(analysed);
//check the default config
assertFalse(analyzer.getConfig().isSimpleTokenizerForced());
assertFalse(analyzer.getConfig().isPosTaggerEnable());
assertTrue(analyzer.getConfig().isChunkerEnabled());