-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathpyproject.toml
More file actions
88 lines (82 loc) · 2.53 KB
/
pyproject.toml
File metadata and controls
88 lines (82 loc) · 2.53 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
[build-system]
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "pycantonese"
version = "4.2.0"
description = "Cantonese Linguistics and NLP in Python"
readme = "README.rst"
requires-python = ">= 3.10"
license = "MIT"
authors = [ { name = "Jackson L. Lee", email = "jacksonlunlee@gmail.com" } ]
keywords = [
"computational linguistics",
"natural language processing",
"NLP",
"Cantonese",
"linguistics",
"corpora",
"speech",
"language",
"Chinese",
"Jyutping",
]
dependencies = ["rustling >= 0.8.0"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Natural Language :: Chinese (Traditional)",
"Natural Language :: Cantonese",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Rust",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Text Processing",
"Topic :: Text Processing :: General",
"Topic :: Text Processing :: Indexing",
"Topic :: Text Processing :: Linguistic",
]
[project.urls]
Homepage = "https://pycantonese.org"
Source = "https://github.com/jacksonllee/pycantonese"
[project.optional-dependencies]
dev = [
"black >= 26.3.0",
"build >= 1.4.0",
"flake8 >= 7.3.0",
"maturin >= 1.0",
"pytest >= 9.0.2",
"requests >= 2.32.5",
"sybil >= 9.3.0",
"mypy >= 1.19.1",
"twine >= 6.2.0",
"pyarrow >= 18.0.0", # For reading Parquet files in the CTCPC corpus.
]
docs = [
"Sphinx >= 4.3.0",
"sphinx-copybutton >= 0.5.1",
"sphinx-rtd-theme >= 1.1.0",
"sphinxcontrib-googleanalytics >= 0.5",
]
[tool.maturin]
python-source = "src"
module-name = "pycantonese._rust"
features = ["extension-module", "parallel"]
[tool.uv.sources]
rustling = { path = "../rustling" }
[tool.pytest.ini_options]
addopts = "-vv --strict-markers --doctest-modules"
testpaths = ["tests", "docs"]