question: public String tag ( int tokenId , TextAnnotation ta ) { String form = ta . getToken ( tokenId ) ; TreeMap < String , Integer > counts = table . get ( form ) ; String l = null ; if ( counts == null ) { if ( form . equals ( ";" ) ) l = ":" ; else if ( looksLikeNumber ( form ) ) l = "CD" ; else l = "UNKNOWN" ; } else { int best = 0 ; for ( Map . Entry < String , Integer > e : counts . entrySet ( ) ) { int c = e . getValue ( ) ; if ( c > best ) { best = c ; l = e . getKey ( ) ; } } } return l ; }
target:  Give a tag for a given form 