Skip to content
This is a calculator of phonemic similarity
Python
Branch: master
Clone or download
Latest commit 6fb1c36 Sep 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode ok Sep 2, 2019
Features.txt ok Sep 2, 2019
README.md Update README.md Sep 10, 2019
dataclean.py ok Sep 3, 2019
featuremin.py ok Sep 3, 2019
lezgian-segment.csv
lezgian.csv ok Sep 3, 2019
lezgian.txt ok Sep 3, 2019
similarity-matrix.csv ok Sep 3, 2019
similarity.py ok Sep 3, 2019
testinventory1.txt ok Sep 2, 2019
testinventory2.txt ok Sep 2, 2019

README.md

The calculator of phonemic similarity

This is a calculator of phonemic similarity I programmed for my project on gradient symbolic representation.

  • Make sure you installed python 3.
  • Make sure you put 'yourfeaturefile.txt' inside of the master folder
  • The basic usage is:
  1. Make your own featurefile 'yourfeaturefile.txt' as what I did in "lezgian.txt". UCLA Pheatures Spreadsheet is a nice tool.
    • Choose segmental inventory in UCLA Pheatures Spreadsheet, obtain all features and copy+paste all to a Excel/Numbers/any spreadsheets.
    • Export the spreadsheet to a nice, tab-delimited table in .txt file.
  2. Choose your directory: Type following code in your Command Line tools (Windows) or Terminal (Mac), add your own directory after cd.
cd [your directory]
  1. Run the python program: Type following code in your Command Line tools or Terminal.
python3 similarity.py yourfeaturefile.txt
  • If you want to commit to this program, remember only similarity.py matters. Other files are kept for my own research purpose.
  • Feel free to contact me (hutengdai[*]gmail.com) if you have any questions!
You can’t perform that action at this time.