Git Product home page Git Product logo

maya's Introduction

Maya(骂丫) -- 对骂机器人

君子动口不动手,科技改变骂丫

为什么做对骂机器人?

本能也好,陋习也罢,“脏话”伴随着每一个人。 纵使很多积极的情绪,表达的时候若不带点脏话,就特么的没了味道。

操**昨天吃了两个红心火龙果,早上撒尿变成红色,吓死爸爸了。
-- 请听题:是谁吃了火龙果,又是谁受到了惊吓?

理解充斥着脏字的自然语言,是每一个对话机器人绕不过的坎。

作为一个对话机器人,收到用户的“脏话”也是不可避免的。我做了一个彩票的客服机器人,每周都会收到很多国骂。

彩票用户脏话

堵,不如疏。

  1. 做一个对骂机器人,跟丫的正面硬刚。
  2. 对骂不是目的,关键是能够更好的理解带有脏话的对话的语义的能力。
  3. 骂到最 high 处,戛然而止,然后开始哄。看看多久能哄好。-- 客服之本。

我们既要有核武器,又要有不首先使用核武器的克制。

开发环境搭建

  • python 3.7
  • MongoDB
pip install -r requirements.txt

导入初始的数据集

$ cd corpus_builder/merger
$ python merge_raw.py
dropping existing data
importing 1juzi
importing manually_data
5823 records imported

数据集如何被构建的:corpus_builder.Readme

阅读材料

maya's People

Contributors

jackonyang avatar dependabot[bot] 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.