Minor fixes

This commit is contained in:
Andras Schmelczer 2022-06-26 12:22:31 +02:00
parent e3fba37fdb
commit 6aeb725038
5 changed files with 5 additions and 6 deletions

View file

@ -1,4 +1,4 @@
name: Check library name: Test
on: on:
workflow_dispatch: workflow_dispatch:

4
.vscode/tasks.json vendored
View file

@ -2,7 +2,7 @@
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "Format and lint Python", "label": "Format and lint",
"type": "shell", "type": "shell",
"command": "source .env/bin/activate && scripts/format-python.sh .", "command": "source .env/bin/activate && scripts/format-python.sh .",
"windows": { "windows": {
@ -18,7 +18,7 @@
} }
}, },
{ {
"label": "Test Python", "label": "Test",
"type": "shell", "type": "shell",
"command": "source .env/bin/activate && python3 -m pytest .", "command": "source .env/bin/activate && python3 -m pytest .",
"windows": { "windows": {

View file

@ -3,9 +3,9 @@
## Exports ## Exports
- [clean](src/sus/clean.py) - [clean](src/sus/clean.py)
- [language](src/sus/clean.py)
- [unique](src/sus/unique.py) - [unique](src/sus/unique.py)
- [parallel_map](src/sus/parallel_map.py) - [parallel_map](src/sus/parallel_map.py)
- [lemmatize](src/sus/lemmatize.py)
- [evaluate_ranking](src/sus/evaluate_ranking/evaluate_ranking.py) - [evaluate_ranking](src/sus/evaluate_ranking/evaluate_ranking.py)
- [get_sentences](src/sus/get_sentences.py) - [get_sentences](src/sus/get_sentences.py)

View file

@ -23,7 +23,7 @@ install_requires =
unidecode >= 1.3.0 unidecode >= 1.3.0
multiprocess >= 0.70.0.0 multiprocess >= 0.70.0.0
tqdm >= 4.0.0 tqdm >= 4.0.0
scikit-learn == 1.1.1 scikit-learn >= 1.0.0
matplotlib >= 3.5.0 matplotlib >= 3.5.0
numpy >= 1.22.0 numpy >= 1.22.0
syntok >= 1.4.0 syntok >= 1.4.0

View file

@ -3,7 +3,6 @@ from .config_file import ConfigFile, ParseError
from .evaluate_ranking import evaluate_ranking from .evaluate_ranking import evaluate_ranking
from .get_sentences import get_sentences from .get_sentences import get_sentences
from .language import english_name_of_language, is_english, predict_language from .language import english_name_of_language, is_english, predict_language
from .lemmatize import lemmatize
from .logger import get_logger from .logger import get_logger
from .match_names import match_names from .match_names import match_names
from .parallel_map import parallel_map from .parallel_map import parallel_map