Use Case: From text to phonological pronunciation
Given a Hungarian text, what is the most likely phonological
pronunciation?

What we have: an orthographic transcript (*.txt)

What we want: an canoncial transcription of the input

Solution: G2P web interface or calling the web service from the command line


By Web Interface:
-----------------
* goto http://clarin.phonetik.uni-muenchen.de/BASWebServices

* goto G2P

* upload HungarianG2P/01_1.txt

* execute the grapheme-to-phoneme conversion with the following options
  Options: 
    lng=hun
    iform=txt
    oform=tab

By Webservice (on Linux/Unix system):
--------------
* go to parent folder

* cd Hungarian

* execute curl call:
  curl -v -X POST -H 'content-type: multipart/form-data' -F i=@01_1.txt -F iform=txt -F oform=txt 'https://clarin.phonetik.uni-muenchen.de/BASWebServices/services/runG2P'

* parse or manually select what is in the <downloadlink> tag in the xml response

* download the file manually or use a command like wget:
  wget -O 01_1.sam <downloadlink>
  cat 01_1.sam
