Git Product home page Git Product logo

tinychinesebot's Introduction

Introduce

“TinyChineseBot” is Chinese chat bot based on Cobe

Requirements

Cobe (A Markov chain based text chatbot)

[https://github.com/pteichman/cobe] by Peter Teichman

Usage

Chat with the Bot

python study-chat.py

Feed to the Bot

python study-feed.py <filename> The file should be UTF-8 encoded.

Develope

Debug

Open print: logging.basicConfig(level=logging.DEBUG)

What is Cobe?

It’s core module named brain. I have comment it heavily in “brain-comment.py” Copyright remaind to Peter Teichman

Why always repeat?

one reason: the brain has no enough content. The fundamental reason:

  • Cobe select a world randomly from “request”
  • Cobe select a sentence randomly which contain the word.
  • Cobe try to extent the sentence in two directions. (with its Markov DB)

But if the Cobe select the setence same as “request”....

Why not include IRC or Jabber(XMPP) Client

There is no active server having enough Chinese users.

release

  • Fri Mar 23 19:54:49 CST 2012

by wuliang [www.wuliang.cn at gmail.com]

tinychinesebot's People

Stargazers

 avatar wuliang avatar

Watchers

wuliang avatar James Cloos avatar

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.