### Question:
BlueBioLemmatizer extends JCasAnnotator_ImplBase { public synchronized static String lemmatize(String text, String posTag) { LemmataEntry lemmata = getLemmatizer().lemmatizeByLexiconAndRules(text, posTag); Collection<edu.ucdenver.ccp.nlp.biolemmatizer.LemmataEntry.Lemma> lemmas = lemmata .getLemmas(); if (!lemmas.isEmpty()) { edu.ucdenver.ccp.nlp.biolemmatizer.LemmataEntry.Lemma lemma = lemmas .iterator().next(); return lemma.getLemma(); } else { return null; } }  @Override void process(JCas jCas); synchronized static String lemmatize(String text, String posTag);  }### Answer:
@Test public void testText() throws Exception { assertEquals("thalamic", BlueBioLemmatizer.lemmatize("Thalamic", null)); assertEquals("thalamus", BlueBioLemmatizer.lemmatize("thalamus", null)); assertEquals("conditioning", BlueBioLemmatizer.lemmatize("conditioning", null)); assertEquals("condition", BlueBioLemmatizer.lemmatize("conditioned", null)); assertEquals("house", BlueBioLemmatizer.lemmatize("houses", null)); assertEquals("acoustic area", BlueBioLemmatizer.lemmatize("acoustic areas", null)); }