Git Product home page Git Product logo

botok-data's Introduction

botok-data

Data files used by botok Filenames don't have any meaning in botok, so they can be used by the user to organize wordlists.

Specifications

A botok profile can contain any of the following folders:

Wordlists

Wordlists are used to populate the trie that botok uses for the tokenization process.

All the files within the following wordlist folders must be .tsv files that follow the following format:

<form>\t<pos>\t<lemma>\t<sense>\t<freq>

Empty lines and lines commented with # are allowed.

  • words_bo/: Tibetan words
  • words_skrt/: Sanskrit words
  • words_non_inflected/: place here words that can't be the host of affixed particles. Typical cases are particle such as གྱི་ that we need within the trie, yet that shouldn't be inflected like regular words. This particle can't host the affixed locative particle ར་.

remove/

Include here words that should not appear in the trie even though you don't (yet) want to remove them from the wordlists.

Contains .txt files containing one word per line.

adjustment/

Contains .tsv formatted as follows:

  • each rule should be as follows: <matchcql>\t<index>\t<operation>\t<replacecql>
  • comments with # and empty lines are allowed
  • CQL rules: <text> can be used without specifying that there is text_cleaned=
  • Index format: either <matching_index> or <matching_index>-<splitting-index>
  • Adjustment format:
    • + for merge
    • : for split (default: syllable mode)
    • :: for split in character mode
    • = for replace
  • Constraint: <matching_index>-<splitting-index> is only allowed if adjustment is : or ::

Default profile

  • adjustment/rdr_basis.tsv : basic particle agreement rules implemented as a placeholder.
  • words_bo/tsikchen.tsv

frequency/mgd.txt

Monlam Grand Dictionary with added Frequency. Done by Thubten Rinzin

frequency/tc.txt

XXX

lemmas/particles.yaml

XXX

trie/ancient.txt , trie/exceptions.txt

These files come from tibetan-spellchecker and indicate exceptions to Classical Tibetan norms.

trie/particles.txt

This is a list of all particles, compiled by hand, with the PART POS tag.

trie/Tibetan.DICT

This file has been extracted from:

Meelen, Marieke, Hill, Nathan, & Handy, Christopher. (2017). The Annotated Corpus of Classical Tibetan (ACTib), Part II - POS-tagged version, based on the BDRC digitised text collection, tagged with the Memory-Based Tagger from TiMBL [Data set]. Zenodo. http://doi.org/10.5281/zenodo.822537

It is available under the CC-BY 4.0 license.

trie/tsikchen.txt

This file has been extracted from a digitized version of:

Yisun, Zhang. 1985. བོད་རྒྱ་ཚིག་མཛོད་ཆེན་མོ།. Beijing: མི་རིགས་དཔེ་སྐྲུན་ཁང་།

Although the book is under copyright, we consider that the bare list of words we provide is not.

trie/mgd.txt

XXX

trie/recordings_4.txt , trie/oral_corpus_0.txt , trie/oral_corpus_1.txt , trie/oral_corpus_2.txt , trie/oral_corpus_3.txt

XXX

License

Unless indicated otherwise, all files are in the public domain.

botok-data's People

Contributors

10zinten avatar drupchen avatar

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.