Code Monkey home page Code Monkey logo

decipherunsegmented's Introduction

DecipherUnsegmented

This hosts the code for the paper, based on https://github.com/j-luo93/xib.

Clean-up plan

  • phonological embedding composition
  • modules to compose embeddings
  • demo script for composing embeddings
  • pretrained phonological embedding
  • core IPA helper modules
  • core aligned corpus helper modules
  • core training and model modules
  • notebooks and scripts

Install

  • Clone this repository recursively git clone --recursive <link>.
  • pip install -r requirements.txt to install Python dependencies
  • Install pytorch
  • Install dev_misc by running cd dev_misc & pip install -e .
  • Install this repository by running pip install -e . in the root directory

Run

  • Pretrained phonological embeddings are available in data/got.pretrained.pth.
  • See scripts/demo_compose.py for a demo script to compose phonological embeddings based on IPA transcriptions.
  • See scripts/demo_pretrained.py for a demo script to load a pretrained embedding layer. Once you run python scripts/demo_pretrained.py, you would obtain two files: data/segments.emb.tsv and data/segments.tsv. Go to the embedding projector to visualize the embeddings by uploading both files.

Data

  • Iberian data is included in the repo. Three files are included: the original data/hesperia_epigraphy.csv that contains the published data from Hesperia, a Jupyter notebook notebooks/clean_iberian.ipynb that I used to clean up the data, and finally the cleaned csv data/iberian.csv.

decipherunsegmented's People

Contributors

j-luo93 avatar

Stargazers

 avatar  avatar Andrew Ulmer avatar STYLIANOS IORDANIS avatar  avatar Kyle Wyonch avatar MLEG avatar Staffan Betnér avatar Alexander Jakob Dautel avatar  avatar ritvik avatar

Watchers

James Cloos avatar  avatar  avatar GeorgeTheInquirer avatar

decipherunsegmented's Issues

When can we expect the code to be shared?

I read the paper with great interest and was also happy to see that the code is shared (which many people still don't do), but now I ask myself, given that the paper has been published, when we can expect the code to appear? Can you give a time line, or remind me by solving the issue, once this is done?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.