title: Split ArrayList of sentences into words, store the words into new ArrayList
body: <p>I've done some research, and maybe I'm just not asking the right questions. </p>
  
  <p>I have an ArrayList of sentences. I want to split the sentences and store individual words into a new ArrayList to use later. I've included code. </p>
  
  <p>This is my first post. If something is incorrect, I apologize in advance. </p>
  
  <p>FYI, rawLinesTest is my ArrayList of sentences. </p>
  
  <pre><code>public List&lt;String&gt; getRawWords() 
  {
      String[] tokens = rawLinesTest.toArray(new String[0]);
      for(String s : tokens)
      {
      tokens = s.split("[^\\w]+");
      rawWords = Arrays.asList(tokens); 
      }
  
  return rawWords;
  }
  </code></pre>