SHARE
TWEET

IPA

a guest May 29th, 2011 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. # encoding: utf-8
  3.  
  4. lol={"a":"ɑ"
  5. ,
  6. "b":"b"
  7. ,
  8. "g":"ɡ"
  9. ,
  10. "d":"d"
  11. ,
  12. "e":"ɛ"
  13. ,
  14. "v":"v"
  15. ,
  16. "z":"z"
  17. ,
  18. "T":"tʰ"
  19. ,
  20. "i":"ɪ"
  21. ,
  22. "k":"kʼ"
  23. ,
  24. "l":"l"
  25. ,
  26. "m":"m"
  27. ,
  28. "n":"n"
  29. ,
  30. "o":"ɔ"
  31. ,
  32. "p":"pʼ"
  33. ,
  34. "J":"ʒ"
  35. ,
  36. "r":"r"
  37. ,
  38. "s":"s"
  39. ,
  40. "t":"tʼ"
  41. ,
  42. "u":"u"
  43. ,
  44. "f":"pʰ"
  45. ,
  46. "q":"kʰ"
  47. ,
  48. "R":"ʁ"
  49. ,
  50. "y":"qʼ"
  51. ,
  52. "S":"ʃ"
  53. ,
  54. "C":"tʃ"
  55. ,
  56. "c":"ts"
  57. ,
  58. "Z":"dz"
  59. ,
  60. "w":"tsʼ"
  61. ,
  62. "W":"tʃʼ"
  63. ,
  64. "x":"χ"
  65. ,
  66. "j":"dʒ"
  67. ,
  68. "h":"h"
  69. ,
  70. "|":"|"}
  71. k=raw_input("qeni:")
  72. loli=""
  73. for i in k:
  74.  loli+=lol[i]
  75.  
  76. open("wiktionary.txt","w").write(loli)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top