title: Gate - extracting individual annotated text from annotation set
body: <p>I'm trying to extract the individual text values of an annotation set which are generated by the default ANNIE processing resources.</p>
  
  <p>When i iterate through the annotation set each entry only gives the start and end position which the annotation references but does not give a .value() method. Is there an easy way to get the value or do i need to use a FileWriter or some equivalent to extract the value directly from the Corpus I'm processing using the start and end positions of the annotation?</p>
  
  <pre><code>annotTypesRequired.add("Location");
  
  Set&lt;Annotation&gt; organization = new HashSet&lt;Annotation&gt;(
                  defaultAnnotSet.get(annotTypesRequired));
  </code></pre>