Coder Social home page Coder Social logo

debugwebsite's Introduction

将Python中各类错误的解决方法做成词典


实现原理介绍:https://www.bilibili.com/av646977726

测试版服务器:http://118.195.242.218:8000/

如果觉得这个程序做得不错,还请star+分享支持一下哦!


简介

这个工程的目标是,当你在编程时遇到错误时,能够像查阅词典一样,一步到位地找到解决方案,而不用经历繁琐的搜索、阅读博客的过程。

为此,程序使用了BILSTM、CRF等方法,自动识别博客中的错误信息和解决方法,通过自动分析大量文章,构建了一个知识库,这样用户在输入错误信息时,程序就能从知识库中找到可能的解决方法了。


运行方法

我编写这个程序用的环境是 Python 3.8

1. 安装依赖包

pip install -r requirements.txt

另外,这个程序还需要安装 mongodb 才能正常运行。

2. 生成知识库

cd DebugTrain
python main.py

3. 启动词典程序(网页)

cd DebugServer
python manage.py migrate
python manage.py runserver 0.0.0.0:8000

debugwebsite's People

Contributors

haloorangewang avatar

Stargazers

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

Watchers

 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.