apmoore1 / bella Goto Github PK
View Code? Open in Web Editor NEWTarget Dependent Sentiment Analysis (TDSA) framework.
Home Page: https://apmoore1.github.io/Bella/
License: MIT License
Target Dependent Sentiment Analysis (TDSA) framework.
Home Page: https://apmoore1.github.io/Bella/
License: MIT License
Hi,
Thanks for starting this project, much needed and very useful.
Could you please make host & port of tweeboparser and corenlp configurable?
I had too many containers running and 9000 was already being used, so I had to change port in stanford_tools.py. Since pip install is being used for module installation, it would be better to provide configurable options so as to avoid need for changing source code.
Also, you might want to choose a different default port other than 9000, Since portainer which many people use for managing containers also like corenlp uses 9000 as it's default port.
When getting the configuration information for the parsers in a multiprocessing fashion, I believe the following error occurs when one thread has started to write and the other is reading thus the one that is reading sees a blank configuration files as it has been overwritten by the writing thread.
Error:
tweebo_api = TweeboParser()
File "/home/andrew/Documents/Bella/bella/dependency_parsers.py", line 50, in __new__
hostname, port = cls.get_config()
File "/home/andrew/Documents/Bella/bella/dependency_parsers.py", line 34, in get_config
if 'tweebo_parser' in config_data:
TypeError: argument of type 'NoneType' is not iterable
"""
The above exception was the direct cause of the following exception:
TypeError Traceb
The Moses tokeniser does not work correctly when using it in a multiprocessing setup the issues this causes are the following:
Make the machine learning models have the same interface or require the same mixin so that they contain the same basic methods with the same basic parameters e.g.:
fit(x, y, *args, **kwargs)
predict(x)
This will ensure the models are a lot easier to use and understand.
Large project would be to move out the Tensorflow models from this project into Bella-TF so that this project can remove several large dependencies:
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.