Code Monkey home page Code Monkey logo

Comments (4)

crownpku avatar crownpku commented on June 4, 2024

这部分文档是@habout632写的,可能要麻烦他细化一下现在的状态。我的了解现在应该就是mongodb的json格式。

from chinese-annotator.

JiaLei123 avatar JiaLei123 commented on June 4, 2024

我现在有点了解了,我后面来补这个文档。
但是@crownpku 你知不知道那个SQLite的数据库是用来存储什么的吗?webui这里没有看到用SQLite的代码

from chinese-annotator.

crownpku avatar crownpku commented on June 4, 2024

Sqlite那个文件是假的,可以删去。我当初放那个只是为了说明数据库文件的位置。

from chinese-annotator.

crownpku avatar crownpku commented on June 4, 2024

另外我在想是不是用户自己具体的数据也要放去user instance里面。贴一下之前发的user instance的构想:

希望针对ABC用户的cde任务(如spam email文本分类),其所有配置文件(.config),文本数据(.sqlite/mongodb),模型数据(tensorflow/sklearn/jieba词库)乃至状态数据全都单独放在同一个user_instance下面的位置。这样用户换一台机器的话,只要装好我们的程序,把相应的数据包拷贝过去就能重复和继续之前的工作。

目录命名规则可以类似/chi_annotator/user_instance/ABC_cde_datetime这样。当然用户可以修改数据包名字,但不建议修改保存位置。

Chinese-Annotator/chi_annotator/user_instance/examples/有下面的几个例子如NER, classify等等。用户需要做的仅仅是针对自己的需求,拷贝和修改这里面的config文件;而未来更可以把这一步加去前端的UI里面变得傻瓜化。

from chinese-annotator.

Related Issues (20)

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.