Creating custom Name Entity classes

86 views
Skip to first unread message

Никола Јелић

unread,
Nov 8, 2012, 10:00:45 AM11/8/12
to nltk-...@googlegroups.com
Hello,

I'm developing nlp application for extracting named entities. The problem with
built-in nltk name entity module is that the classes are fixed.
For example, if I want to create table of entities like this:
TOOL - any mechinacal implement usable by human (hammer, axe, etc.)
QUANTITY - any human measurment (meter, pound, inch, liter, gram, etc.)
BMATERIAL - any building material (wood, brick, stone, sand, etc.)
Let's say I have some tagged data in IOB form, which would be splitted in
training and testing portions. Wordnet would be nice basis for features.
Is there a way to create custom classes and their features, and then to train
the algorithm with tagged data?
--
Nikola Jelić

EuroICC d.o.o.
Tršćanska 21
11080 Zemun, Srbija
tel: +381 11 371 36 65
fax: +381 11 371 36 66
e-mail: nikola...@euroicc.com
web: www.euroicc.com

Nigel Legg

unread,
Nov 8, 2012, 11:04:24 AM11/8/12
to nltk-...@googlegroups.com
Take a look at nltk.classify - there are a number of different classifiers there that should do what you need.


Никола Јелић

unread,
Nov 14, 2012, 7:22:18 AM11/14/12
to nltk-...@googlegroups.com
Hello Nigel,

Your advice was more then helpful - nltk.classify is exactly what I need.

Best Regards,

Nikola Jelić

EuroICC d.o.o.
Tršćanska 21
11080 Zemun, Srbija
tel: +381 11 371 36 65
fax: +381 11 371 36 66
e-mail: nikola...@euroicc.com
web: www.euroicc.com

Nigel Legg

unread,
Nov 14, 2012, 7:23:59 AM11/14/12
to nltk-...@googlegroups.com
Not a problem


--


Reply all
Reply to author
Forward
0 new messages