Giter Site home page Giter Site logo

hubot-ector's Introduction

François 👋

Hello all, and welcome.

Personal projects 🔭

ECTOR

ECTOR is my side-project since I defended my PhD thesis (1998). It had a PHP/Mysql version, then a C version, a Python one, and eventually a NodeJS one. It is a learning chatterbot, sometimes it says smart things.

ECTOR MonoRepo

sentence tokenizer

I needed to parse sentences for ECTOR. Bam! My most starred repo.

Sentence Tokenizer

random weighted choice

I also needed to make random weighted choices for ECTOR to work. Another starred repo. I like the ease of creating packages with npm.

Random weighted choice

Statistics 📊

GitHub stats Languages

Provided by GitHub Readme Stats

hubot-ector's People

Contributors

jjasghar avatar parkr avatar parmentf avatar tombell avatar victorperin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hubot-ector's Issues

cb is not a function

Despite following the installation instructions for hubot and hubot-ector, I have been unable to make it work. Upon launching hubot, I receive these two errors:

Error while loading cn.json
Error: ENOENT: no such file or directory, open 'cn.json'

Then, during operation of the bot, any string not caught by other hubot scripts will return

ERROR TypeError: cb is not a function
  at [object Object].ConceptNetwork.addNode (/home/xxxx/domibot/node_modules/concept-network/lib/concept-network.js:66:5)
  at Object.Ector.addEntry (/home/xxxx/domibot/node_modules/hubot-ector/node_modules/ector/lib/ector.js:134:30)
  at /home/xxxx/domibot/node_modules/hubot-ector/src/ector.coffee:58:7, <js>:51:15
  at Listener.callback (/home/xxxx/domibot/node_modules/hubot/src/robot.coffee:236:52, <js>:162:16)
  at executeListener (/home/xxxx/domibot/node_modules/hubot/src/listener.coffee:65:11, <js>:53:19)
  at allDone (/home/xxxx/domibot/node_modules/hubot/src/middleware.coffee:44:37, <js>:34:16)
  at /home/xxxx/domibot/node_modules/hubot/node_modules/async/lib/async.js:274:13
  at Object.async.eachSeries (/home/xxxx/domibot/node_modules/hubot/node_modules/async/lib/async.js:142:20)
  at Object.async.reduce (/home/xxxx/domibot/node_modules/hubot/node_modules/async/lib/async.js:268:15)
  at /home/xxxx/domibot/node_modules/hubot/src/middleware.coffee:49:7, <js>:37:22
  at _combinedTickCallback (internal/process/next_tick.js:67:7)
  at process._tickCallback (internal/process/next_tick.js:98:9)

ector.coffee just_listening

hubot just listen is not working because just_listening is not defined.
Just add "just_listening = false" and it is working.

npm package has a different ector.coffee without hubot just listen btw.

previousResponseNodes = null
quiet = false
just_listening = false
speakReplies =
[ 'Thanks.', 'OK', 'As you will.', 'Glad to be here again :)', ':)', 'Thank you.']

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.