forked from BoGoEngine/bogo-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
57 lines (47 loc) · 1.66 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name='bogo',
packages=['bogo'],
version='1.0.1',
description='Library for implementing Vietnamese input method editors with a purely functional interface.',
author='Trung Ngo',
author_email='[email protected]',
url='https://github.com/BoGoEngine/bogo-python',
download_url='https://github.com/BoGoEngine/bogo-python/archive/v1.0.tar.gz',
keywords=['vietnamese'],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2.7",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Text Processing :: Linguistic",
"Topic :: Software Development :: Libraries :: Python Modules"
],
long_description="""\
BoGo is a Vietnamese input method conversion library. This library
is intentionally functional with no internal state and side-effect.
Usage
-----
>>> import bogo
>>> bogo.process_sequence('meof')
'mèo'
>>> bogo.process_sequence('meo2', rules=bogo.get_vni_definition())
'mèo'
>>> bogo.process_sequence('system')
'system'
>>> bogo.process_sequence('system', skip_non_vietnamese=False)
'sýtem'
More help available with:
>>> help(bogo.core)
Some functions from bogo.core are exported to package toplevel:
- `process_key()`
- `process_sequence()`
- `get_telex_definition()`
- `get_vni_definition()`
BoGo is extensively tested with Python 2.7, Python 3.2 and Python 3.3.
"""
)