Skip to content

Commit

Permalink
BELA 2.0.0a19 ready on PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
letuananh committed Jan 26, 2022
1 parent 490943d commit 05be5f6
Show file tree
Hide file tree
Showing 14 changed files with 1,439 additions and 26 deletions.
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include README.md
include LICENSE
include requirements.txt
recursive-include bela/data *.gz
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,17 @@
**B**LIP **E**LAN **L**anguage **A**nnotation - A method for creating and processing multi-lingual transcriptions using [BELA convention](https://blipntu.github.io/belacon/) and [ELAN software](https://archive.mpi.nl/tla/elan/download).

- Documentation: [https://blipntu.github.io/belacon/](https://blipntu.github.io/belacon/)
- Source code: [https://github.com/letuananh/bela](https://github.com/letuananh/bela)
- PyPI: [https://pypi.org/project/bela/](https://pypi.org/project/bela/)

## Installation

**BELA** is available on [PyPI](https://pypi.org/project/bela/) and can be installed using pip:

```
pip install bela
```

**Citation**: Tuan Anh Le,
Seraphina Fong,
Jinyi Wong,
Expand All @@ -15,3 +24,7 @@
Suzy J Styles, 2021,
"BELA - A Processing Pathway for Multilingual Parent-child Conversations",
[BMRS 2021](https://www.bilingualism-matters.org/events/bilingualism-matters-research-symposium-2021)

## License

**BELA** package is licensed under MIT License.
29 changes: 19 additions & 10 deletions bela/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
# -*- coding: utf-8 -*-

'''
BELA - A Python package for processing ELAN-based multi-lingual transcriptions.
"""
BLIP ELAN Language Annotation (BELA) package
"""

Latest version can be found at https://github.com/letuananh/bela
:copyright: (c) 2020 Le Tuan Anh <tuananh.ke@gmail.com>
:license: MIT, see LICENSE for more details.
'''

########################################################################
# This code is a part of BELA package: https://github.com/letuananh/bela
# :developer: Le Tuan Anh <tuananh.ke@gmail.com>
# :license: MIT, see LICENSE for more details.

from .__version__ import __author__, __email__, __copyright__, __maintainer__
from .__version__ import __credits__, __license__, __description__, __url__
from .__version__ import __version_major__, __version_long__, __version__, __status__

from .common import maketime, getlang
from .common import is_special_token
from .common import process_text, tokenize
from .common import KNOWN_LANGUAGES, KNOWN_LANGUAGE_CLASSES
from .bela1 import Bela1
from .bela2 import Bela2, SPECIAL_SPEAKER, SPECIAL_SPEAKER_NAME


__all__ = ['__version__', '__author__', '__description__', '__copyright__']
__all__ = ['Bela1', 'maketime', 'getlang', 'is_special_token',
'process_token', 'process_text', 'tokenize',
'KNOWN_LANGUAGES', 'KNOWN_LANGUAGE_CLASSES',
'SPECIAL_SPEAKER', 'SPECIAL_SPEAKER_NAME',
'Bela2',
"__version__", "__author__", "__description__", "__copyright__"]
20 changes: 12 additions & 8 deletions bela/__version__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,19 @@
# -*- coding: utf-8 -*-
# BELA's package version information

# This code is a part of BELA package: https://github.com/letuananh/bela
# :developer: Le Tuan Anh <tuananh.ke@gmail.com>
# :license: MIT, see LICENSE for more details.

# chirptext's package version information
__author__ = "Le Tuan Anh"
__email__ = "tuananh.ke@gmail.com"
__copyright__ = "Copyright (c) 2020, Le Tuan Anh"
__copyright__ = "Copyright (c) 2019, Le Tuan Anh, BLIP lab NTU, Singapore"
__credits__ = []
__license__ = "MIT License"
__description__ = "A Python package for processing ELAN-based multi-lingual transcriptions."
__url__ = "https://github.com/letuananh/bela/"
__description__ = "BLIP ELAN Language Annotation package"
__url__ = "https://github.com/BLIPNTU/belacon"
__maintainer__ = "Le Tuan Anh"
__version_major__ = "0.1"
__version__ = "{}a1".format(__version_major__)
__version_long__ = "{} - Alpha".format(__version_major__)
__status__ = "Prototype"
__version_major__ = "2.0.0"
__version__ = "{}a19".format(__version_major__)
__version_long__ = "{} - alpha".format(__version_major__)
__status__ = "3 - Alpha"
Loading

0 comments on commit 05be5f6

Please sign in to comment.