GithubHelp home page GithubHelp logo

ch-jensen / lingo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etcbc/lingo

0.0 1.0 0.0 31.78 MB

Various (linguistic) applications of the BHSA data

License: The Unlicense

Jupyter Notebook 7.81% Python 0.07% HCL 92.12%

lingo's Introduction

lingo

Various (linguistic) applications of the BHSA data:

Minimal pairs

Compute pairs of words that have a limited edit distance. If the distance is 1, both words differ in exactly one character.

Various decisions have to be taken:

  • do we feed lexemes (lemmas) or word occurrences (both of course)
  • do we retain accents?
  • do use unicode normalization or denormalization?

We do not provide all options here. But the code is reasonably clear, so, clone it and go your own way!

Done for Hebrew and Greek.

Trees

Generate syntax trees from the Hebrew data. The notebook does all BHSA versions. De trees are exported in plain text in bracket notation. The output is in the repo.

Vocabulary

A simple notebook to produce list of Hebrew and Aramaic lexemes in order of decreasing frequency.

Voyant

If you want to put the data in a corpus form, you can use the notebook prepare.ipynb.

You can choose a text format and a granularity, and then the notebook will create a corpus for that in a local _temp directory. Then you can zip it and upload to text processing services such as Voyant.

Heads

Export edge relationships between phrases and their head words. A head word is defined as "the word that determines the syntactic category of that phrase" (wikipedia).

lingo's People

Contributors

codykingham avatar dirkroorda avatar

Watchers

 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.