/** * Get the text for the given offset. * * @param jCas to get the text from * @param offset * @return the text covered by the offset */ public static String getText(JCas jCas, Offset key) { return getText(jCas, key.getBegin(), key.getEnd()); }
/** * Get the text for the given offset. * * @param jCas to get the text from * @param offset * @return the text covered by the offset */ public static String getText(JCas jCas, Offset key) { return getText(jCas, key.getBegin(), key.getEnd()); }