Open allanyuill opened 7 years ago
hey @allanyuill yeah thanks. This is weird and needs a bit of care. The firstname rules I used for v6 were america/euro-centric, and I tried stepping-back, but maybe went too far. you can see how simple it is right now
if it helps, it's easier to see the parsed name with nlp(txt).people(0).data()
will keep this open till it gets fleshed-out
cheers
Hi Guys! wanted to jump in on this discussion a bit. I've noticed issues here as well..
A further thought i had which is more general is that it might be useful to allow someone using this module to pass in custom lists of names, places, etc to the various dictionaries so they can train the module without having to fork if that makes sense.
yah! you can pass-in a plugin right now. v12 is gonna support extending classes, to add new methods and things.
what should Jacob Rees-Mogg
output?
not sure if i'm understanding the question so apologies in advance if I've misunderstood but currently it comes back as "jacob rees" whereas it should be Jacob Rees-Mogg
firstname: Jacob last name: Rees-Mogg
his full name is Jacob William Rees-Mogg so William would be his middle name
Version 7.0.28
I am getting the following strange behaviour when parsing a three part name. I noticed a comment that you were looking at the name parsing and thought this may be a good example. The term length is also returning one. Very strange!