Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static String[] getSeparateWords() {
- List<Sentence> sentences = Logic.getQuestionSentences("la muu ma? bu bu. cu cu cu? muu?");
- String[] words =null;
- for (Sentence sentence: sentences) {
- words = sentence.getWords().split("[ ?,]");
- }
- return words;
- }
Add Comment
Please, Sign In to add comment