danasone commited on
Commit
9a88164
1 Parent(s): 8b85bc6
__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
- classifier @ file://classifier.py
 
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