name space change
Browse files- analyzer.py +1 -1
- demo.py +1 -1
- main.py +1 -1
- utils/{util.py → utility.py} +0 -0
analyzer.py
CHANGED
@@ -9,7 +9,7 @@ from spacy.tokens import Doc
|
|
9 |
from spacy.cli._util import import_code
|
10 |
|
11 |
from utils.visualize import visualize_spans
|
12 |
-
from utils.
|
13 |
|
14 |
from resources.text_list import TEXT_LIST
|
15 |
from resources.template_list import TPL_SPAN, TPL_SPAN_SLICE, TPL_SPAN_START
|
|
|
9 |
from spacy.cli._util import import_code
|
10 |
|
11 |
from utils.visualize import visualize_spans
|
12 |
+
from utils.utility import preprocess, delete_overlapping_span, cleanup_justify
|
13 |
|
14 |
from resources.text_list import TEXT_LIST
|
15 |
from resources.template_list import TPL_SPAN, TPL_SPAN_SLICE, TPL_SPAN_START
|
demo.py
CHANGED
@@ -8,7 +8,7 @@ from spacy.tokens import Doc
|
|
8 |
|
9 |
import streamlit as st
|
10 |
|
11 |
-
from utils.
|
12 |
from utils.visualize import visualize_spans
|
13 |
|
14 |
# nlp = spacy.load(
|
|
|
8 |
|
9 |
import streamlit as st
|
10 |
|
11 |
+
from utils.utility import delete_overlapping_span, cleanup_justify
|
12 |
from utils.visualize import visualize_spans
|
13 |
|
14 |
# nlp = spacy.load(
|
main.py
CHANGED
@@ -14,7 +14,7 @@ from spacy.tokens import Doc
|
|
14 |
from spacy.cli._util import import_code
|
15 |
|
16 |
from utils.visualize import visualize_spans
|
17 |
-
from utils.
|
18 |
from resources.text_list import TEXT_LIST
|
19 |
from resources.text_list_BAWE import TEXT_LIST_BAWE
|
20 |
from resources.template_list import TPL_SPAN, TPL_SPAN_SLICE, TPL_SPAN_START
|
|
|
14 |
from spacy.cli._util import import_code
|
15 |
|
16 |
from utils.visualize import visualize_spans
|
17 |
+
from utils.utility import preprocess, delete_overlapping_span, cleanup_justify
|
18 |
from resources.text_list import TEXT_LIST
|
19 |
from resources.text_list_BAWE import TEXT_LIST_BAWE
|
20 |
from resources.template_list import TPL_SPAN, TPL_SPAN_SLICE, TPL_SPAN_START
|
utils/{util.py → utility.py}
RENAMED
File without changes
|