Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Co-Chairs' is not detecting as formal title #37

Closed
sayandev opened this issue Sep 5, 2015 · 2 comments
Closed

'Co-Chairs' is not detecting as formal title #37

sayandev opened this issue Sep 5, 2015 · 2 comments

Comments

@sayandev
Copy link

sayandev commented Sep 5, 2015

name = HumanName('Co-Chairs Muffy Miller')
name.first+' '+name.last
u'Co-Chairs Miller'

@derek73
Copy link
Owner

derek73 commented Sep 5, 2015

We can add co-chairs to the titles constant. In the meantime you can also add that in your own project. See the documentation section on customizing the parser.

@sayandev
Copy link
Author

sayandev commented Sep 5, 2015

Thanks a lot Derek.
Just to confirm, I have to add it in the following right:

from nameparser.config import CONSTANTS
CONSTANTS.titles

add the 'co-chairs ' in CONSTANTS.titles, it work, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants