@@ -49,13 +49,24 @@ directly to the attribute.
4949Customizing the Parser with Your Own Configuration
5050==================================================
5151
52- Recognition of titles, prefixes, suffixes and conjunctions is provided by
52+ Recognition of titles, prefixes, suffixes and conjunctions is handled by
5353matching the lower case characters of a name piece with pre-defined sets
54- of strings located in :py:mod: `nameparser.config `. You can easily adjust
54+ of strings located in :py:mod: `nameparser.config `. You can adjust
5555these predefined sets to help fine tune the parser for your dataset.
5656
57+ Parser Constants:
5758
58- Changing the Predefined Variables
59+ * `CONSTANTS.titles ` - Pieces that come before the name. Cannot include things that may be first names
60+ * `CONSTANTS.first_name_titles ` - Titles that, when followed by a single name, that name is a first name, e.g. "King David"
61+ * `CONSTANTS.suffix_acronyms ` - Pieces that come at the end of the name that may or may not have periods separating the letters, e.g. "m.d."
62+ * `CONSTANTS.suffix_not_acronyms ` - Pieces that come at the end of the name that never have periods separating the letters, e.g. "Jr."
63+ * `CONSTANTS.conjunctions ` - Connectors like "and" that join the preceeding piece to the following piece.
64+ * `CONSTANTS.prefixes ` - Connectors like "del" and "bin" that join to the following piece but not the preceeding
65+ * `CONSTANTS.capitalization_exceptions ` - Dictionary of pieces that do not capitalize the first letter, e.g. "Ph.D"
66+ * `CONSTANTS.regexes ` - Regular expressions used to find words, initials, nicknames, etc.
67+
68+
69+ Changing the Parser Constants
5970+++++++++++++++++++++++++++++++++
6071
6172There are a few ways to adjust the parser configuration depending on your
0 commit comments