The decision of whether the word is a general term or a named entity from a given type is controlled by a gating mechanism conditioned on the context observed so far.
kALM learns to predict whether the context observed is indicative of a named entity of a given type and what tokens are likely to be entities of a given type.