Skip to content

Commit 05be5f6

Browse files
committed
BELA 2.0.0a19 ready on PyPI
1 parent 490943d commit 05be5f6

File tree

14 files changed

+1439
-26
lines changed

14 files changed

+1439
-26
lines changed

MANIFEST.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include README.md
2+
include LICENSE
3+
include requirements.txt
4+
recursive-include bela/data *.gz

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@
33
**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).
44

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

9+
## Installation
10+
11+
**BELA** is available on [PyPI](https://pypi.org/project/bela/) and can be installed using pip:
12+
13+
```
14+
pip install bela
15+
```
16+
817
**Citation**: Tuan Anh Le,
918
Seraphina Fong,
1019
Jinyi Wong,
@@ -15,3 +24,7 @@
1524
Suzy J Styles, 2021,
1625
"BELA - A Processing Pathway for Multilingual Parent-child Conversations",
1726
[BMRS 2021](https://www.bilingualism-matters.org/events/bilingualism-matters-research-symposium-2021)
27+
28+
## License
29+
30+
**BELA** package is licensed under MIT License.

bela/__init__.py

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
# -*- coding: utf-8 -*-
22

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

6-
Latest version can be found at https://github.com/letuananh/bela
7-
8-
:copyright: (c) 2020 Le Tuan Anh <[email protected]>
9-
:license: MIT, see LICENSE for more details.
10-
'''
11-
12-
########################################################################
7+
# This code is a part of BELA package: https://github.com/letuananh/bela
8+
# :developer: Le Tuan Anh <[email protected]>
9+
# :license: MIT, see LICENSE for more details.
1310

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

15+
from .common import maketime, getlang
16+
from .common import is_special_token
17+
from .common import process_text, tokenize
18+
from .common import KNOWN_LANGUAGES, KNOWN_LANGUAGE_CLASSES
19+
from .bela1 import Bela1
20+
from .bela2 import Bela2, SPECIAL_SPEAKER, SPECIAL_SPEAKER_NAME
21+
1822

19-
__all__ = ['__version__', '__author__', '__description__', '__copyright__']
23+
__all__ = ['Bela1', 'maketime', 'getlang', 'is_special_token',
24+
'process_token', 'process_text', 'tokenize',
25+
'KNOWN_LANGUAGES', 'KNOWN_LANGUAGE_CLASSES',
26+
'SPECIAL_SPEAKER', 'SPECIAL_SPEAKER_NAME',
27+
'Bela2',
28+
"__version__", "__author__", "__description__", "__copyright__"]

bela/__version__.py

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,19 @@
11
# -*- coding: utf-8 -*-
2+
# BELA's package version information
3+
4+
# This code is a part of BELA package: https://github.com/letuananh/bela
5+
# :developer: Le Tuan Anh <[email protected]>
6+
# :license: MIT, see LICENSE for more details.
27

3-
# chirptext's package version information
48
__author__ = "Le Tuan Anh"
59
__email__ = "[email protected]"
6-
__copyright__ = "Copyright (c) 2020, Le Tuan Anh"
10+
__copyright__ = "Copyright (c) 2019, Le Tuan Anh, BLIP lab NTU, Singapore"
711
__credits__ = []
812
__license__ = "MIT License"
9-
__description__ = "A Python package for processing ELAN-based multi-lingual transcriptions."
10-
__url__ = "https://github.com/letuananh/bela/"
13+
__description__ = "BLIP ELAN Language Annotation package"
14+
__url__ = "https://github.com/BLIPNTU/belacon"
1115
__maintainer__ = "Le Tuan Anh"
12-
__version_major__ = "0.1"
13-
__version__ = "{}a1".format(__version_major__)
14-
__version_long__ = "{} - Alpha".format(__version_major__)
15-
__status__ = "Prototype"
16+
__version_major__ = "2.0.0"
17+
__version__ = "{}a19".format(__version_major__)
18+
__version_long__ = "{} - alpha".format(__version_major__)
19+
__status__ = "3 - Alpha"

0 commit comments

Comments
 (0)