Giter Site home page Giter Site logo

letuananh / bela Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 2.0 1.65 MB

πŸ‘Έ BELA - A pathway for creating and analysing multi-lingual transcripts using BELA convention and ELAN software

License: MIT License

Python 100.00%
bela linguistics transcription ntu

bela's Introduction

Hi there πŸ‘‹

Le Tuan Anh is a semanticist who is deeply interested in well-being, languages, and free software. His main research interests are in computational meaning and theory of language. He is the author of the coolisf software, which provides computational deep semantic analysis by combining structural semantics from construction grammars and lexical semantics from ontologies in a single representation. The dissertation (2019), source code, and data are available on the Open Science Framework.

In his free time, Tuan Anh develops jamdict - a free and open-source Python 3 library for manipulating Japanese linguistic resources: Jim Breen’s JMdict, KanjiDic2, JMnedict, and kanji-radical mappings. There is an online demo available at: https://jamdict.herokuapp.com/

From Mar 2019 to Apr 2022, Tuan Anh was a research fellow at Nanyang Technological University (NTU), Singapore and contributed to the development of BELA - a pathway for creating, checking, visualizing, and analysing multilingual corpuses of natural languages.

bela's People

Contributors

letuananh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

blipntu selbbircs

bela's Issues

Remove ellipsis when tokenizing special tokens such as `:m:` and `:si:`

BELA v2.0.0a21.post6 tokenize() function does not process ellipsis when they are embedded in singing or mimicking segments.

E.g., applying tokenize() function on :si:walking+in+the+jungle+walking+in+the+jung... yields: ['walking', 'in', 'the', 'jungle', 'walking', 'in', 'the', 'jung...']

Proposing to remove ellipsis if ellipsis parameter is set True. Expected result would look like this: ['walking', 'in', 'the', 'jungle', 'walking', 'in', 'the', 'jung'].

Retain linguistic information after tokenize()

Suggesting a feature to retain linguistic information of bound morphemes (e.g., =s, =ing, =ed, =le) or ellipsis.
This will help differentiate between truncated words/sounds and bound morphemes in lexicon after tokenize().

For example:
le... [stuttering] let's see jiejie=s [plural morpheme] are playing with the s... [stuttering] silly bottle=le [Tamil =le morpheme added] game -> jiejie s were playing with the s silly bottle le game

In the above case, the output from bela.tokenize() does not allow us to differentiate between whether a lexical entry is a speech error or a bound morpheme.

Flag baby `:v:` language tags as errors if they appear on adult language tiers

Currently, if baby language tags (:v:vocalizations,:v:laughter, :v:airstream, :v:crying) appear on adult language tiers, it is not flagged as an error.

Proposed implementation in Python:

def _find_baby_lang_adult(belan):
    for p in belan.persons:
        if 'Baby' not in p.name:
            if 'Sibling' not in p.name:
                for u in p.utterances:
                    for c in u.chunks:
                        if c.language.startswith(':v:'):
                            errors.append(f"{belan.path} : {c} tagged as {c.language} found on {p.name} (Language) tier (should be reserved for Baby (Language) only)")

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.