Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/nameparser/config/__init__.py: 100%

Shortcuts on this page

r m x   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1 statements  

1"""The default vocabulary's data. 

2 

3Every module here is private, and :class:`nameparser.Lexicon` reads 

4them: the vocabulary written per word in ``nameparser/vocab/*.toml``, 

5compiled, and ``_ko_surnames``, the Korean surname list unspaced hangul 

6is divided on, a segmentation list outside the per-word model, which 

7``Lexicon.default().surnames`` holds. Ask a lexicon what it holds with 

8:meth:`~nameparser.Lexicon.words` and 

9:meth:`~nameparser.Lexicon.readings_of`. Through 2.x this package also 

10held one re-exporting module per word list (``titles``, ``particles``, 

11``suffixes``, ...) and the compiled patterns in ``regexes``, removed in 

123.0 (#1007, #1008), the public ``surnames``, made private in 3.0, 

13and the 1.x ``Constants`` configuration, removed in 

143.0 too (decisions/3-0-reevaluations). 

15"""