зеркало из
https://github.com/ssciwr/AMMICO.git
synced 2025-10-29 21:16:06 +02:00
* clean up docstrings * clean up docstrings 2 * temp integration test module * cleaner text sample to analyse * remove clean text and spelling corrections * change ammico exposed interface
33 строки
989 B
Python
33 строки
989 B
Python
try:
|
|
from importlib import metadata
|
|
except ImportError:
|
|
# Running on pre-3.8 Python; use importlib-metadata package
|
|
import importlib_metadata as metadata # type: ignore
|
|
from ammico.cropposts import crop_media_posts
|
|
from ammico.display import AnalysisExplorer
|
|
from ammico.faces import EmotionDetector
|
|
from ammico.multimodal_search import MultimodalSearch
|
|
from ammico.objects import ObjectDetector
|
|
from ammico.summary import SummaryDetector
|
|
from ammico.text import TextDetector, PostprocessText
|
|
from ammico.utils import find_files, initialize_dict, append_data_to_dict, dump_df
|
|
|
|
# Export the version defined in project metadata
|
|
__version__ = metadata.version(__package__)
|
|
del metadata
|
|
|
|
__all__ = [
|
|
"crop_media_posts",
|
|
"AnalysisExplorer",
|
|
"EmotionDetector",
|
|
"MultimodalSearch",
|
|
"ObjectDetector",
|
|
"SummaryDetector",
|
|
"TextDetector",
|
|
"PostprocessText",
|
|
"find_files",
|
|
"initialize_dict",
|
|
"append_data_to_dict",
|
|
"append_data_to_dict",
|
|
]
|