Our procedure learned this automatically from a collection of name tokens, without observing any input/output pairs.
the matching experiments were performed on a corpus of 1500 entities (with separate corpora of the same size for training and test.)