More experimentation
Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
parent
c01d55d291
commit
c11880483d
43 changed files with 749 additions and 496 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from sus.publication_tei.models import (
|
||||
from good_ai.utilities.publication_tei.models import (
|
||||
Affiliation,
|
||||
Author,
|
||||
Meta,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.sus.clean import clean
|
||||
from src.good_ai.utilities.clean import clean
|
||||
|
||||
|
||||
class TestClean(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
from src.sus.evaluate_ranking import evaluate_ranking
|
||||
from src.good_ai.utilities.evaluate_ranking import evaluate_ranking
|
||||
|
||||
|
||||
class TestEvaluateRanking(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.sus.get_sentences import get_sentences
|
||||
from src.good_ai.utilities.get_sentences import get_sentences
|
||||
|
||||
|
||||
class TestGetSentences(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,10 @@
|
|||
import unittest
|
||||
|
||||
from src.sus.language import english_name_of_language, is_english, predict_language
|
||||
from src.good_ai.utilities.language import (
|
||||
english_name_of_language,
|
||||
is_english,
|
||||
predict_language,
|
||||
)
|
||||
|
||||
|
||||
class TestLanguage(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.sus.lemmatize_text import lemmatize_text
|
||||
from src.good_ai.utilities.lemmatize_text import lemmatize_text
|
||||
|
||||
|
||||
class TestLemmatizeText(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import unittest
|
||||
|
||||
from src.sus.lemmatize_text import lemmatize_token
|
||||
from src.sus.nlp import nlp
|
||||
from src.good_ai.utilities.lemmatize_text import lemmatize_token
|
||||
from src.good_ai.utilities.nlp import nlp
|
||||
|
||||
|
||||
class TestLemmatizeToken(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.sus.match_names.match_names import match_names
|
||||
from src.good_ai.utilities.match_names.match_names import match_names
|
||||
|
||||
|
||||
class TestMatchNames(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.sus.parallel_map import parallel_map
|
||||
from src.good_ai.utilities.parallel_map import parallel_map
|
||||
|
||||
COUNT = int(1e5) + 3
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import unittest
|
||||
from pathlib import Path
|
||||
|
||||
from src.sus.publication_tei import PublicationTEI
|
||||
from src.good_ai.utilities.publication_tei import PublicationTEI
|
||||
|
||||
from .data.parsed import authors, content, metadata, sentences
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.sus.unique import unique
|
||||
from src.good_ai.utilities.unique import unique
|
||||
|
||||
original = [
|
||||
("a", 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue