I have indicated in pelias.json that textAnalizer is libpostal. How can I indicate that the addresses are in a certain language, such as catalan or spanish?
2 things. first, the property is textAnalyzer. second, we don’t support multiple languages for addresses yet. are you referring to addresses being returned from pelias in a particular language?
@trescube Yes, I misspelled it in the message, but in pelias.json it's OK. On the languages issue, I understand that libpostal treats addresses differently depending on whether it is an English or an Spanish one, as it has different files in the resources/dictionaries folder for each language. The question is if I can indicate the language in order that libpostal knows the language to be treated.
oh, i see, you’d to specify the language that libpostal uses to parse addresses in. using the command line executable, i see that you can specify the country using .country [code]. i poked around in the nodepostal code and it appears that language and country can be passed to the parser but we don’t currently support that. i can bring it up in our daily meeting (which is going on right now).
@trescube Ok, thanks a lot
is there a particular use case you’re seeing where specifying .country in the command line is resulting in a better parse?
hey @ppKrauss. most conversation happens over in https://gitter.im/pelias/pelias these days. can you tell me where you saw this channel referenced? if there's a link to here i'd like to update it
Hi, I'm new to Pelias and install from scratch. The problem I am having is that importing data from CSV and polyline does not recognize administrative divisions. In my file pelias.json there is the option "adminLookup": true but even so when importing the CSV for example I choose [wof-admin-lookup] no country.