Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Re-write & working implementation of CAPR for Proto-Burmish; Flask+Svelte+foma. DOI:10.5281/zenodo.6617027

License

NotificationsYou must be signed in to change notification settings

nh36/CAPR-Seth

Repository files navigation

This repository contains a re-write and working implementation of theCAPR interface and backend for reconstructingProto‑Burmish (Lolo‑Burmese branch). It accompanies the Zenodo record:

  • Knights, Seth; Gong, Xun; Hill, Nathan W. (2022).Materials for an Etymological Dictionary of Burmish 2.0. Zenodo. DOI: 10.5281/zenodo.6617027

What’s here (high level)

  • server/ — Python/Flask API for CAPR
  • cognate-app/ — Svelte interface for cognate reassignment and FST editing
  • pipeline/ — Wordlist → tokenized lexicon → initial cognate discovery (LingPy/LingRex)
  • reconstruct/ — Initial FSTs used by the pipeline
  • orthoprofiles/ — Orthographic profiles for pipeline stages

Notes on setup and run below paraphrase the Zenodo page for 10.5281/zenodo.6617027.

Quick start (development)

  1. API
    cd serverexport FLASK_APP=serverflask run# API on http://localhost:5000
  2. Interface
    cd cognate-appnpm inpm run dev# UI on http://localhost:8080

Foma / FST toolchain

Installlibfoma0 andlibfoma0-dev (Linux). Some distro versions (e.g., 0.9.18) can yield uncaught FST compilation errors. If that affects you, build a recent version from source.

Linux build from source (example):

wget https://github.com/mhulden/foma/archive/refs/heads/master.zipunzip master.zipcd foma-master/fomamakesudo make install

Language →.bin mapping (required in the FST editor)

Old_Burmese → burmese.binAchang_Longchuan → ngochang.binXiandao → xiandao.binMaru → maru.binBola → bola.binAtsi → atsi.binLashi → lashi.bin

Production sketch

  • API:gunicorn server:app (e.g.,:8000)
  • UI:npm run build && npm run start (:8080)
  • Reverse proxy: e.g.,Caddy

Cite

If you use this software or datasets, please cite:

Authors

  • Seth Knights — University of Chicago
  • Xun Gong — University of Vienna
  • Nathan W. Hill — Trinity College Dublin

License

Zenodo lists “Other (Public Domain)”. This repo usesCC0‑1.0 to express a public‑domain dedication. SeeLICENSE.

About

Re-write & working implementation of CAPR for Proto-Burmish; Flask+Svelte+foma. DOI:10.5281/zenodo.6617027

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp