Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> python >> python-nameparser
etiona  ]
[ 源代码: python-nameparser  ]

软件包: python-nameparser (0.5.6-1)

Python module for parsing names into individual components

The HumanName class splits a name string up into name parts based on placement in the string and matches against known name pieces like titles. It joins name pieces on conjunctions and special prefixes to last names like "del". Titles can be chained together and include conjunctions to handle titles like "Asst Secretary of State". It can also try to correct capitalization of all upper or lowercase names.

It attempts the best guess that can be made with a simple, rule-based approach. Unicode is supported, but the parser is not likely to be useful for languages that to not share the same structure as English names. It's not perfect, but it gets you pretty far.

其他与 python-nameparser 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: python
    interactive high-level object-oriented language (default version)

下载 python-nameparser

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 17.6 kB82 kB [文件列表]