Move packages

Signed-off-by: András Schmelczer <andras@schmelczer.dev>
This commit is contained in:
Andras Schmelczer 2022-04-02 21:55:48 +02:00
parent cef2e51c67
commit acbdd96883
78 changed files with 123 additions and 27 deletions

View file

@ -1 +0,0 @@

View file

@ -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 *

View file

@ -0,0 +1,2 @@
from .deploy import process_batch
from .models import save_model, use_model

View file

@ -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

View file

@ -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")

View file

@ -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")

View file

@ -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",
]

View file

@ -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

View file

@ -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