예제 #1
0
 /**
  * tag 'span' of 'doc' according to the Jet part of speech set. Words are first assigned 'tagger'
  * annotations with feature cat = a Penn tag. Then these are mapped to Jet tags, and 'constit'
  * annotations are added with cat = a Jet part-of-speech tag.
  */
 public void tagJet(Document doc, Span span) {
   annotate(doc, span, "tagger");
   Retagger.mapConstit(doc, span);
 }