mateusfg7 / textanalysis Goto Github PK
View Code? Open in Web Editor NEW:page_facing_up: Programa em python que realisa análise em texto usando recursos da API Algorithmia.
Home Page: https://algorithmia.com
License: MIT License
:page_facing_up: Programa em python que realisa análise em texto usando recursos da API Algorithmia.
Home Page: https://algorithmia.com
License: MIT License
Traceback (most recent call last):
File "analysis.py", line 56, in <module>
reconhecimento_de_entidades(client, ler_arquivo())
File "/home/mateusfg7/Documentos/Projects/textAnalysis/functions/reconhecimento_de_entidades.py", line 10, in reconhecimento_de_entidades
wordlist = resultado['sentences'][numeroDeEntidadesEncontradas - 1]['detectedEntities']
IndexError: list index out of range
Traceback (most recent call last):
File "analysis.py", line 56, in <module>
reconhecimento_de_entidades(client, ler_arquivo())
File "/home/mateusfg7/Documentos/Projects/textAnalysis/functions/reconhecimento_de_entidades.py", line 14, in reconhecimento_de_entidades
sys.exit(1)
NameError: name 'sys' is not defined
Traceback (most recent call last):
File "analysis.py", line 43, in <module>
if sys.argv[1] == "-t" :
IndexError: list index out of range
CodeFactor found an issue: Comparison to True should be just 'expr'
It's currently on:
analysis.py:67
Commit 2da01d3
CodeFactor found an issue: Do not use len(SEQUENCE)
to determine if a sequence is empty
It's currently on:
functions\reconhecimento_de_entidades.py:16
Commit ab00d02
Pretendo adicionar um menu visual ao programa, assim que inicia, ja com as opções para escolher, sem precisar passar tudo como flags via CLI.
Porem quero manter a versão com flags CLI, podendo assim a pessoa escolher qual usar.
Quero fazer com que ambos consigam usar as mesmas funções sem maiores problemas.
o processo esta sendo feito na branch visual_menu com o arquivo AnalysisGUI.py
error at auth/__init__.py
Traceback (most recent call last):
File "analysis.py", line 10, in <module>
from auth import getKey
File "/home/mateusfg7/Desktop/textAnalysis/auth/__init__.py", line 4, in <module>
def getKey(readFile, str2json) -> Optional[dict, bool]:
File "/usr/lib/python3.8/typing.py", line 261, in inner
return func(*args, **kwds)
File "/usr/lib/python3.8/typing.py", line 364, in __getitem__
arg = _type_check(parameters, "Optional[t] requires a single type.")
File "/usr/lib/python3.8/typing.py", line 149, in _type_check
raise TypeError(f"{msg} Got {arg!r:.100}.")
TypeError: Optional[t] requires a single type. Got (<class 'dict'>, <class 'bool'>).
CodeFactor found multiple issues:
functions\frequencia_de_palavras.py:6
python3 -m pip install -r requeriments.txt
matplotlib
CodeFactor found an issue: Redefining built-in 'input'
It's currently on:
functions\analise_de_sentimento.py:6
CodeFactor found an issue: Do not use len(SEQUENCE)
to determine if a sequence is empty
It's currently on:
functions\reconhecimento_de_entidades.py:5
Commit 28e7b9d
CodeFactor found an issue: Redefining built-in 'input'
It's currently on:
functions\resumir_texto.py:4
CodeFactor found an issue: Redefining built-in 'input'
It's currently on:
functions\reconhecimento_de_entidades.py:8
Commit 5ad2422
python3 -m pip install -r requeriments.txt
CodeFactor found an issue: Comparison to True should be just 'expr'
It's currently on:
analysis.py:61
Commit 2da01d3
CodeFactor found an issue: Redefining built-in 'input'
It's currently on:
functions\contar_palavras.py:2
CodeFactor found an issue: Comparison to True should be just 'expr'
It's currently on:
analysis.py:73
Commit 2da01d3
CodeFactor found an issue: Comparison to True should be just 'expr'
It's currently on:
analysis.py:61
Commit 2da01d3
CodeFactor found multiple issues last seen at 2da01d3:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.