Giter Site home page Giter Site logo

node-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

node-ector's People

Contributors

mortonfox avatar parmentf avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

node-ector's Issues

Add to file

How can we make ector have the ability to get responses from a text file

Cannot read properties of undefined (reading 'id')

TypeError: Cannot read properties of undefined (reading 'id')
    at Ector.generateForward (/home/runner/PozazaykaAI/node_modules/ector/lib/ector.js:185:86)
    at Ector.generateResponse (/home/runner/PozazaykaAI/node_modules/ector/lib/ector.js:290:24)

This happens when I use ector.generateResponse() function

I get error

node_modules/ector/node_modules/concept-network/lib/concept-network.js:66
cb(null, this.node[id]);
^
TypeError: number is not a function
at Object.ConceptNetwork.addNode = node_modules/ector/node_modules/concept-network/lib/concept-network.js:66:5)
at Object.Ector.addEntry (node_modules/ector/lib/ector.js:134:30)
at Object. (index.js:3:7)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:902:3

What is worng? I just installed clean package.

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.