Talk:NE tagger

From Medialab

Revision as of 00:04, 2 March 2009 by Giuseppe.Attardi (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Simple test of NER.

>>> import NER
>>> l = NER.Language()
>>> c = NER.Corpus(l, 'conll03.fmt')
>>> sr = NER.SentenceReader('ner.train', c)
>>> ner = NER.NER(None, None)
>>> ner.train(sr, 'ner.me')