[addresses] adding pymorphy2 for converting Russian and Ukrainian place names (sticking with state and staet_district for the moment) to the locative case as mentioned in #125

This commit is contained in:
Al
2016-12-28 04:48:32 -05:00
parent e91907a21b
commit 6f009fb8a6
3 changed files with 46 additions and 0 deletions

View File

@@ -121,6 +121,13 @@ state:
full_name_probability: 0.2
abbreviated_probability: 0.8
# Currently for Russian and Ukrainian, convert some names to the genitive/locative case
slavic_names:
state:
locative_probability: 0.4
state_district:
locative_probability: 0.4
country:
# If no country is specified, pull the country name from CLDR (authoratative country names translated into different languages)
cldr_country_probability: 0.5