Move packages
Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
parent
5890bbc3d5
commit
876e0f3082
78 changed files with 123 additions and 27 deletions
|
|
@ -1 +0,0 @@
|
|||
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
from .deploy import process_batch
|
||||
from .models import save_model, use_model
|
||||
from .good_ai import *
|
||||
from .utilities import *
|
||||
from .open_s3 import *
|
||||
|
|
|
|||
2
good_ai/src/good_ai/good_ai/__init__.py
Normal file
2
good_ai/src/good_ai/good_ai/__init__.py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
from .deploy import process_batch
|
||||
from .models import save_model, use_model
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
from functools import partial, reduce
|
||||
from typing import Any, Callable, Iterable, Optional, Sequence
|
||||
|
||||
from sus.parallel_map import parallel_map
|
||||
from good_ai.utilities.parallel_map import parallel_map
|
||||
|
||||
from ..core import function_registry
|
||||
|
||||
|
|
@ -2,7 +2,7 @@ import logging
|
|||
from typing import Any, Optional
|
||||
|
||||
from joblib import load
|
||||
from open_s3 import LargeFile
|
||||
from good_ai.open_s3 import LargeFile
|
||||
|
||||
logger = logging.getLogger("models")
|
||||
|
||||
|
|
@ -3,7 +3,7 @@ from pathlib import Path
|
|||
from typing import Optional, Union
|
||||
|
||||
from joblib import dump
|
||||
from open_s3 import LargeFile
|
||||
from good_ai.open_s3 import LargeFile
|
||||
|
||||
logger = logging.getLogger("models")
|
||||
|
||||
|
|
@ -40,7 +40,7 @@ preceding = [
|
|||
"doubt",
|
||||
"negative for",
|
||||
"no",
|
||||
"versus",
|
||||
"vergood_ai.utilities",
|
||||
"without",
|
||||
"doesn't",
|
||||
"doesnt",
|
||||
|
|
@ -104,7 +104,7 @@ pseudo_clinical = pseudo + [
|
|||
"not ruled out",
|
||||
"not been ruled out",
|
||||
"not drain",
|
||||
"no suspicious change",
|
||||
"no good_ai.utilitiespicious change",
|
||||
"no interval change",
|
||||
"no significant interval change",
|
||||
]
|
||||
|
|
@ -342,7 +342,7 @@ class UnicodeToLatexEncoder(object):
|
|||
|
||||
Possible protection schemes are:
|
||||
|
||||
- 'braces' (the default): Any suspicious replacement text (that
|
||||
- 'braces' (the default): Any good_ai.utilitiespicious replacement text (that
|
||||
might look fragile) is placed in curly braces ``{...}``.
|
||||
|
||||
- 'braces-all': All replacement latex escapes are surrounded in
|
||||
|
|
@ -3,7 +3,7 @@ from typing import Any, List, Optional, Union
|
|||
|
||||
from bs4 import BeautifulSoup
|
||||
from bs4.element import NavigableString, Tag
|
||||
from sus.publication_tei.models.element import Paragraph
|
||||
from good_ai.utilities.publication_tei.models.element import Paragraph
|
||||
|
||||
from ..clean import clean
|
||||
from .models import Affiliation, Author, Element, Meta, PublicationMetadata, Text, Title
|
||||
Loading…
Add table
Add a link
Reference in a new issue