Giter VIP home page Giter VIP logo

bella's People

Contributors

apmoore1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bella's Issues

Make host & port of tweeboparser and corenlp configurable

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.

Multiprocessing getting parser config information

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

Moses Tokeniser

The Moses tokeniser does not work correctly when using it in a multiprocessing setup the issues this causes are the following:

  1. The output of the multiprocessing setup when using map is not the same as the input
  2. Causes a broken pipe

API for the models

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.

Tensorflow Models

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:

  1. tensorflow
  2. Keras
  3. pydot
  4. graphviz

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.