Tag: programming

  • The Euclidean Distance in Diphthongs – R Graph and Code

    Representing and plotting a distance in F1/F2 graph, in terms of the Euclidean distance, is relatively easy in R. This post shows one of the ways of achieving that. First, we provide a sample data, which consists of F1 and F2 values for two diphthong targets.  Then, draw the diphthong positions with their starting and […]

  • IPA Symbols in R

    This post is an example of how to place IPA (International Phonetic Alphabet) in R charts. I have achieved that by using the hexadecimal values of the corresponding Unicode symbols. There may be a more direct approach, but I am unaware of one. A plot is created as usual, but the IPA labels are stored […]

  • Checking Praat’s TextGrids in Python

    A TextGrid file contains data about intervals, segments, times etc. of the corresponding signal file (audio in wav, mp3, aif…). Because grids are in plain-text  – they can be analysed / checked / extracted  automatically, or parsed. In case you are a linguist/phonetician you might be using Praat, a small, but very powerful, programme for […]