Skip to content

This code is necessary for parsing Slavic names, surnames and midnames

Notifications You must be signed in to change notification settings

wb-08/SlavicNames

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slavic Names

This code is necessary for parsing Slavic names, surnames , midnames and define gender. Using the Sqlite database.

Installation

git clone https://github.com/wb-08/SlavicNames.git

Usage

from parse_fio import fio_parse, gender_parse
fio_dct = fio_parse('Моргунова Александра Андреевна')
>> {'Surname': 'Моргунова', 'Name': 'Александра', 'Midname': 'Андреевна'}
gender_dct = gender_parse('Моргунова Александра Андреевна')
>> {'fio': 'Моргунова Александра Андреевна', 'gender:': 'f'}

Features

1.Using the Sqlite database

2.The database contains:

  • 365673 surnames

  • 30577 names

  • 46717 midnames

References

About

This code is necessary for parsing Slavic names, surnames and midnames

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages