fix py
Browse files- __init__.py +0 -0
- __pycache__/__init__.cpython-38.pyc +0 -0
- requirements.txt +1 -1
- ru_errant.py +2 -2
__init__.py
DELETED
File without changes
|
__pycache__/__init__.cpython-38.pyc
DELETED
Binary file (156 Bytes)
|
|
requirements.txt
CHANGED
@@ -2,4 +2,4 @@ git+https://github.com/huggingface/evaluate@main
|
|
2 |
git+https://github.com/Askinkaty/errant/@4183e57
|
3 |
Levenshtein
|
4 |
ru-core-news-lg @ https://huggingface.co/spacy/ru_core_news_lg/resolve/main/ru_core_news_lg-any-py3-none-any.whl
|
5 |
-
|
|
|
2 |
git+https://github.com/Askinkaty/errant/@4183e57
|
3 |
Levenshtein
|
4 |
ru-core-news-lg @ https://huggingface.co/spacy/ru_core_news_lg/resolve/main/ru_core_news_lg-any-py3-none-any.whl
|
5 |
+
git+https://github.com/ai-forever/sage@feature/metrics
|
ru_errant.py
CHANGED
@@ -18,8 +18,8 @@ import re
|
|
18 |
from collections import Counter, namedtuple
|
19 |
from typing import Iterable
|
20 |
from tqdm.auto import tqdm
|
21 |
-
from . import classifier
|
22 |
-
from . import merger
|
23 |
from errant.annotator import Annotator
|
24 |
from errant.commands.compare_m2 import process_edits
|
25 |
from errant.commands.compare_m2 import evaluate_edits
|
|
|
18 |
from collections import Counter, namedtuple
|
19 |
from typing import Iterable
|
20 |
from tqdm.auto import tqdm
|
21 |
+
from sage.evaluation.ruerrant_wrapper import classifier
|
22 |
+
from sage.evaluation.ruerrant_wrapper import merger
|
23 |
from errant.annotator import Annotator
|
24 |
from errant.commands.compare_m2 import process_edits
|
25 |
from errant.commands.compare_m2 import evaluate_edits
|