java - nested tag on opennlp -
hey i'm trying make training data opennlp detect location name within sentences. stuck @ :
<start:location> <start:location> north manchester <end> hospital <end>
i need detect 2 object, name of hospital , city name. can achive that?
i'm using opennlp library version 1.6 on java 8
the way formatted tags won't work way thinking, because outer tag take contents of inner tag string literally far know (and you'll never hit on weird). duplicate sentence 2 different tags, 1 city name, , 1 hospital. also, should have more context around tags in sentence (use complete sentences if can).
at point, you'll have start thinking semantics, because in terms of entity extraction ontological thinking, hospital not location entity, can related one. thought, kind of academic, interesting if it's relevant.
Comments
Post a Comment