Skip to main content

Pipeline configurável de análise de sentimentos

Project description

sentiment-pipeline

Pipeline configurável de análise de sentimentos em Python.

Instalação

pip install sentiment-pipeline

Uso rápido

from sentiment_pipeline.pipeline import Pipeline

config_pre = {
    "lowercase": True,
    "remove_urls": True,
    "normalize_emojis": True,
    "handle_negations": False,
    "remove_stopwords": "keep_negations",
    "normalization": "stemming"
}

config_vet = {
    "estrategia": "tfidf",
    "max_features": 10000,
    "ngram_range": (1, 2),
    "sublinear_tf": True,
}

pipeline = Pipeline(config_pre, config_vet)
pipeline.carregar_dados("dataset.csv", "text", "label")
pipeline.treinar()
pipeline.avaliar_validacao()

Interface web

streamlit run app.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pipeline_sentimento-0.1.0.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pipeline_sentimento-0.1.0-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file pipeline_sentimento-0.1.0.tar.gz.

File metadata

  • Download URL: pipeline_sentimento-0.1.0.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.3

File hashes

Hashes for pipeline_sentimento-0.1.0.tar.gz
Algorithm Hash digest
SHA256 17090ff875d05d36116a400dcc07722a1b8980185205eca70860fd69e01c6775
MD5 a11484591e3af05e978da55084d33378
BLAKE2b-256 99b3df7d1698cd9291b33aaf08678ae23c4761bf247d3ecfc9b612e798cd85d2

See more details on using hashes here.

File details

Details for the file pipeline_sentimento-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pipeline_sentimento-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0d8f1de1db169f79314cdc3d09e0e5c8ffc7d1f7163260eb662d17ffbf1dcb26
MD5 efabcee00fe7cfec0d09df2d6eeeb1d1
BLAKE2b-256 220a387afcbf3942499d6cf035e6920ba45fe74cb9cab336b75ea369eec003b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page