public void process(JCas jcas) throws AnalysisEngineProcessException {
  if (annotate_tokens)   if (language.equals(Language.CHINESE))   tokenizeChinese(jcas);
 else   tokenize(jcas);
  if (annotate_partofspeech)   doTreeTag(jcas);
  if (this.language == Language.GERMAN)   improveGermanSentences(jcas);
  if (this.language == Language.FRENCH)   improveFrenchSentences(jcas);
}

public void process ( JCas jcas ) throws AnalysisEngineProcessException { if ( annotate_tokens ) if ( language . equals ( Language . CHINESE ) ) tokenizeChinese ( jcas ) ; else tokenize ( jcas ) ; if ( annotate_partofspeech ) doTreeTag ( jcas ) ; if ( this . language == Language . GERMAN ) improveGermanSentences ( jcas ) ; if ( this . language == Language . FRENCH ) improveFrenchSentences ( jcas ) ; }
method that gets called to process the documents ' cas objects
