let using { gkeywords = table; gfilter = filter } kwd =
let r =
try Hashtbl.find table kwd
with
| Not_found ->
let r = ref 0 in (Hashtbl.add table kwd r; r)
in (Token.Filter.keyword_added filter kwd (!r = 0); incr r)