AMMICO/pyproject.toml
Inga Ulusoy a6578cfdf3
Topic analysis (#53)
* add bertopic to requirements

* basic topic modeling

* topic modeling using BERT; bugfix if no text on post

* update for google colab

* Catch connection errors

* replace newline character with space

* move topic analysis into PostprocessText class

* set up dataflow topic analysis

* expose topic model to UI

* tests for class init

* tests for topic analysis

* more tests

* take care of carriage return on windows

* take care of carriage return on windows

* take care of carriage return on windows

* set encoding to ensure windows compatibility

* track encoding error

* more debug

* skip topic analysis debug

* windows fixes
2023-02-13 11:45:24 +01:00

58 строки
1.2 KiB
TOML

[build-system]
requires = [
"setuptools==61",
]
build-backend = "setuptools.build_meta"
[project]
name = "misinformation"
version = "0.0.1"
description = "Misinformation campaign analysis"
readme = "README.md"
maintainers = [
{ name = "Inga Ulusoy", email = "ssc@iwr.uni-heidelberg.de" },
{ name = "Dominic Kempf", email = "ssc@iwr.uni-heidelberg.de" },
]
requires-python = ">=3.8"
license = { text = "MIT" }
classifiers = [
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
]
dependencies = [
"google-cloud-vision",
"cvlib",
"deepface <= 0.0.75",
"ipywidgets",
"numpy<=1.23.4",
"opencv_python",
"pandas",
"pooch",
"protobuf",
"retina_face",
"setuptools",
"tensorflow",
"keras",
"openpyxl",
"pytest",
"pytest-cov",
"matplotlib",
"pytest",
"opencv-contrib-python",
"googletrans==3.1.0a0",
"spacy",
"jupyterlab",
"spacytextblob",
"textblob",
"bertopic",
"grpcio",
"pandas",
]
[project.scripts]
misinformation_prefetch_models = "misinformation.utils:misinformation_prefetch_models"
[tool.setuptools]
packages = ["misinformation"]