นับจำนวนคำและการเกิดขึ้นในเอกสาร PDF, Word, Excel, PowerPoint และ Email ใน Java โดยใช้ API การแยกวิเคราะห์เอกสาร...String text = reader.readToEnd(); String[] words = text.split("\\s+|\\...String text = reader.readToEnd(); String[] words = text.split("\\s+|\\...