Skip to content

Wrong capitalized letter in Portuguese names #72

Closed
@kelvins

Description

@kelvins

First of all, congrats for the great project.

I have found a small issue related to Portuguese names. By running the following code:

from nameparser import HumanName
name = HumanName('joao da silva do amaral de souza')
name.capitalize()
str(name)

I get the following result:

'Joao da Silva Do Amaral de Souza'

when it should be:

'Joao da Silva do Amaral de Souza'

The d from do should be lowercase.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions