Open nicolas-raoul opened 6 years ago
Hi, Can you please let me know if the purpose of finding a Italian listing closest to English (or) German listing is for mapping the POI Types.
@nsaiisasidhar : No, no mapping is needed.
Adding Italian should be rather similar to this: https://github.com/baturin/wikivoyage-listings/commit/bae618de6533b27ee27d1d4cc18d5dbc9cd70aa7
@nicolas-raoul Can you please let me know how to get sample-article-it.wikicode
for Italian.
As an example, here is how Spanish got added recently: https://github.com/baturin/wikivoyage-listings/pull/59/commits/10c6f4096168e423d810ea435d9a784d9f85b25b (only the 2 Java files, ignore the .bat file). As you can see it is not too difficult even for a beginner Java developer.
When I run it, here is the CSV output:
article,type,title,alt,wikidata,wikipedia,address,directions,phone,tollFree,email,fax,url,hours,checkIn,checkOut,image,price,latitude,longitude,wifi,accessibility,lastEdit,description
Sur (Oman),other,Oman National Transport Company,ONTC,,,,near Sur Souq,+968 25 540019,,info@ontcoman.com,,http://www.ontcoman.com/,,,,,,22.568252,59.525001,,,,Ha bus giornalieri da e per Mascate (4 ore e 15 minuti) lungo la strada R23 via Ibra.
Only 1 line... @nsaiisasidhar Would you know what is the problem?
The Italian Wikivoyage has expressed interest in getting parsed by us.
I believe it will not be very difficult, copying English.java or German.java will probably work. There might be a few things to adjust.
The first thing to do would be to find a listing on the Italian Wikivoyage and compare it to listings on other Wikivoyages to see which one is the closest.