}
long taggingStart = System.currentTimeMillis();
final NavigableMap<int[],Tag> tags = new TreeMap<int[],Tag>(Tag.SPAN_COMPARATOR);
try {
//process the language of the document
Corpus corpus = null;
if(session.getLanguageCorpus() != null){
corpus = session.getLanguageCorpus();
long t = System.currentTimeMillis();
int d = tag(at, session,corpus,tags);
log.debug(" - {}: fst: {}ms (callback: {}ms)", new Object[]{
corpus.getIndexedField(), System.currentTimeMillis()-t, d
});
}
if(session.getDefaultCorpus() != null){
if(corpus == null){
corpus = session.getDefaultCorpus();