Skip to content

Commit f13f776

Browse files
committed
Setting up publishing
1 parent c54070c commit f13f776

5 files changed

Lines changed: 60 additions & 3 deletions

File tree

.github/workflows/publish.yml

Whitespace-only changes.

araxne/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from araxne.araxne import Araxne

araxne/araxne.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,10 +524,10 @@ def compare_samogłoski(l1):
524524
result = weighted_average(scorelist, weightlist)
525525
return result
526526

527-
str1 = "rozprawiał"
528-
str2 = "chował"
527+
#str1 = "rozprawiał"
528+
#str2 = "chował"
529529

530-
print(Araxne.compare(str1, str2))
530+
#print(Araxne.compare(str1, str2))
531531

532532
# sprawa : rawa zwraca 100
533533
# ględzę : zrzędzę zwraca 93.5 (grupa : zupa tak samo)

pyproject.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[project]
2+
name = "araxne"
3+
version = "0.0.1"
4+
authors = [
5+
{ name="Tytus Dunin", email="tm.dunin@student.uw.edu.pl" },
6+
]
7+
description = "A simple algorithm for quantifying how much two strings rhyme in Polish"
8+
readme = "README.md"
9+
requires-python = ">=3.9"
10+
classifiers = [
11+
"Programming Language :: Python :: 3",
12+
"Operating System :: OS Independent",
13+
]
14+
license = "MIT"
15+
license-files = ["LICEN[CS]E*"]
16+
17+
[build-system]
18+
requires = ["setuptools >= 77.0.3"]
19+
build-backend = "setuptools.build_meta"
20+
21+
[project.urls]
22+
Homepage = "https://github.com/pypa/sampleproject"
23+
Issues = "https://github.com/pypa/sampleproject/issues"

setup.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
from distutils.core import setup
2+
setup(
3+
name = 'araxne',
4+
packages = ['araxne'],
5+
version = '0.0.1',
6+
license='GPL-3.0',
7+
description = 'A simple algorithm for quantifying how much two strings rhyme in Polish.',
8+
author = 'Tytus Dunin',
9+
author_email = 'tm.dunin@student.uw.edu.pl',
10+
url = 'https://github.com/tytusdunin/araxne',
11+
download_url = 'https://github.com/tytusdunin/kokosznicka/archive/refs/tags/v.0.2.5.tar.gz',
12+
keywords = ['nlp', 'rhyme detection', 'phonetics', 'polish'],
13+
install_requires=['kokosznicka'],
14+
15+
classifiers=[
16+
'Development Status :: 4 - Beta',
17+
18+
'Intended Audience :: Developers',
19+
'Topic :: Software Development :: Build Tools',
20+
21+
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
22+
23+
'Programming Language :: Python :: 3',
24+
'Programming Language :: Python :: 3.4',
25+
'Programming Language :: Python :: 3.5',
26+
'Programming Language :: Python :: 3.6',
27+
'Programming Language :: Python :: 3.7',
28+
'Programming Language :: Python :: 3.8',
29+
'Programming Language :: Python :: 3.9',
30+
'Programming Language :: Python :: 3.10',
31+
'Programming Language :: Python :: 3.11',
32+
],
33+
)

0 commit comments

Comments
 (0)