https://github.com/clemsciences/germanic-phonetics-transcriber
https://github.com/clemsciences/germanic-phonetics-transcriber
gothic old-norse old-swedish phonetics transcription
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/clemsciences/germanic-phonetics-transcriber
- Owner: clemsciences
- Created: 2018-06-13T21:25:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-06-25T12:54:01.000Z (almost 7 years ago)
- Last Synced: 2025-03-24T11:56:51.978Z (2 months ago)
- Topics: gothic, old-norse, old-swedish, phonetics, transcription
- Language: Python
- Size: 38.1 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
# Germanic phonetic/phonological transcription
### Available languages
Old Norse, Old Swedish and Gothic are available to be phonetically transcribed... code-block:: python
In [1]: from phonetics import *
In [2]: import gothic, old_swedish, old_norse
In [3]: example_sentence = "Anastodeins aiwaggeljons Iesuis Xristaus sunaus gudis."
In [4]: tr = Transcriber(gothic.DIPHTHONGS_IPA, gothic.DIPHTHONGS_IPA_class, gothic.IPA_class, gothic.gothic_rules)
In [5]: tr.main(example_sentence)
Out [5]: [anastoːðiːns ɛwaŋgeːljoːns jeːsuis kristɔs sunɔs guðis]"
In [6]: sentence = "Far man kunu oc dör han för en hun far barn. oc sigher hun oc hænnæ frændær."
In [7]: tr = ut.Transcriber(old_swedish.DIPHTHONGS_IPA, old_swedish.DIPHTHONGS_IPA_class, old_swedish.IPA_class,
old_swedish.old_swedish_rules)
In [8]: tr.main(sentence)Out [8]: "[far man kunu ok dør han før ɛn hun far barn ok siɣɛr hun ok hɛnːɛ frɛndɛr]"
In [9]: from cltk.phonology.old_norse import transcription as ont
In [10]: sentence = "Gylfi konungr var maðr vitr ok fjölkunnigr"
In [11]: tr = Transcriber(ont.DIPHTHONGS_IPA, ont.DIPHTHONGS_IPA_class, ont.IPA_class, ont.old_norse_rules)
In [12]: tr.main(sentence)
Out [12]: "[gylvi kɔnungr var maðr vitr ɔk fjœlkunːiɣr]"