code: public void typeSystemInit(TypeSystem typeSystem)
  			throws AnalysisEngineProcessException {
  
  		// sentence type
  		mSentenceType = AnnotatorUtil.getType(typeSystem,
  				"opennlp.uima.Sentence");
  
  		// token type
  		mTokenType = AnnotatorUtil.getType(typeSystem, "opennlp.uima.Token");
  
  		// pos feature
  		mPosFeature = AnnotatorUtil.getRequiredFeature(mTokenType, "pos",
  				CAS.TYPE_NAME_STRING);
  
  		// lexeme feature
  		mLexemeFeature = AnnotatorUtil.getRequiredFeature(mTokenType, "lexeme",
  				CAS.TYPE_NAME_STRING);
  
  		// lemma feature
  		mLemmaFeature = AnnotatorUtil.getRequiredFeature(mTokenType, "lemma",
  				CAS.TYPE_NAME_STRING_ARRAY);
  
  		// features feature
  		mFeaturesFeature = AnnotatorUtil.getRequiredFeature(mTokenType,
  				"features", CAS.TYPE_NAME_STRING);
  
  		// chunk type
  		mChunkType = AnnotatorUtil.getType(typeSystem, "opennlp.uima.Chunk");
  
  		// chunk feature
  		mChunkFeature = AnnotatorUtil.getRequiredFeature(mChunkType,
  				"chunkType", CAS.TYPE_NAME_STRING);
  
  		// chunk head feature
  		mChunkHead = AnnotatorUtil.getRequiredFeature(mChunkType, "head",
  				"opennlp.uima.Token");
  
  		// syntactic chunk type
  		mSyntacticChunkType = AnnotatorUtil.getType(typeSystem,
  				"opennlp.uima.SyntacticChunk");
  
  		// chunk feature
  		mSyntacticChunkFeature = AnnotatorUtil
  				.getRequiredFeature(mSyntacticChunkType, "syntChunkType",
  						CAS.TYPE_NAME_STRING);
  	}
docs: Initializes the type system.