FileInputStream fileIn = new FileInputStream("D:\\111.doc"); WordExtractor extractor = new WordExtractor(fileIn); String[] paras =extractor.getParagraphText(); System.out.println(paras.length); why the paragraph nums is not correct? Reading in English looks like no problem. But my word is written in Chinese. thanks!
Please attach the problematic file, without it we can't do much to help you. Yegor
No update for a long time, therefore I am closing this, please reopen with more information if this is still a problem for you.