code: public void process(JCas jcas) throws AnalysisEngineProcessException {
  		// if the annotate_tokens flag is set, annotate the tokens and add them to the jcas
  		if(annotate_tokens)
  			if(language.equals(Language.CHINESE))
  				tokenizeChinese(jcas); // chinese needs different tokenization
  			else
  				tokenize(jcas);
  
  		/* if the annotate_partofspeech flag is set, annotate partofspeech and,
  		 * if specified, also tag sentences based upon the partofspeech tags. 
  		 */
  		if(annotate_partofspeech) 
  			doTreeTag(jcas);
  		
  		// if the improve_german_sentences flag is set, improve the sentence tokens made by the treetagger
  		if(this.language == Language.GERMAN)
  			improveGermanSentences(jcas);
  		
  		// if French, improve the sentence tokens made by the TreeTagger with settings for French
  		if (this.language == Language.FRENCH)
  			improveFrenchSentences(jcas);
  		
  	}
docs: Method that gets called to process the documents' cas objects