-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathsetup.py
71 lines (69 loc) · 1.94 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from setuptools import find_packages, setup
with open('README.md') as f:
readme = f.read()
setup(
name="string2string",
version="0.0.150",
description="String-to-String Algorithms for Natural Language Processing",
long_description=readme,
long_description_content_type='text/markdown',
url="https://github.com/stanfordnlp/string2string",
author="Mirac Suzgun",
author_email="[email protected]",
license="MIT",
python_requires='>=3.7',
packages=find_packages(),
install_requires=[
"torch",
"numpy",
"transformers",
"datasets",
"faiss-cpu==1.7.3",
"bert_score",
"fasttext",
"pandas",
"joblib",
],
tests_require=["pytest"],
classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Typing :: Typed",
],
keywords=[
"string matching",
"pattern matching",
"edit distance",
"string to string correction",
"string to string matching",
"Levenshtein edit distance",
"Hamming distance",
"Damerau-Levenshtein distance",
"Jaro-Winkler distance",
"longest common subsequence",
"longest common substring",
"dynamic programming",
"approximate string matching",
"semantic similarity",
"natural language processing",
"NLP",
"information retrieval",
"rouge",
"sacrebleu",
"bertscore",
"bartscore",
"fasttext",
"glove",
"cosine similarity",
"Smith-Waterman",
"Needleman-Wunsch",
"Hirschberg",
"Karp-Rabin",
"Knuth-Morris-Pratt",
"Boyer-Moore",
],
)