Guest User

Untitled

a guest
May 24th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. public static String[] getSeparateWords() {
  2. List<Sentence> sentences = Logic.getQuestionSentences("la muu ma? bu bu. cu cu cu? muu?");
  3. String[] words =null;
  4.  
  5. for (Sentence sentence: sentences) {
  6. words = sentence.getWords().split("[ ?,]");
  7. }
  8. return words;
  9. }
Add Comment
Please, Sign In to add comment