The combination of having lastname prefixes and repeated titles before and after a name seems to break the parsers logic around middle name handling.
Here's a test that fails:
hn = HumanName("dr Vincent van Gogh dr")
self.assertEqual("Vincent", hn.first)
self.assertEqual("van", hn.middle)
self.assertEqual("Gogh", hn.last)
For some reason, the middle name comes out as dr Vincent van instead of the expected van.
The combination of having lastname prefixes and repeated titles before and after a name seems to break the parsers logic around middle name handling.
Here's a test that fails:
For some reason, the middle name comes out as
dr Vincent vaninstead of the expectedvan.