Coder Social home page Coder Social logo

同一个词重复标记问题 about poplar HOT 5 CLOSED

synyi avatar synyi commented on May 21, 2024
同一个词重复标记问题

from poplar.

Comments (5)

longfangsong avatar longfangsong commented on May 21, 2024

@felixhpp 因为同一个词可以有多个正交的Category,所以我们允许重复标记同一个词
如果要禁止这么做,可以在客户代码中进行,方法是在添加过程中检测Store中是否有这个Label
如果发现大部分用户都希望不允许重复标记同一个词,我们会考虑加入这个功能(或者让它configable

from poplar.

grzhan avatar grzhan commented on May 21, 2024

@felixhpp 公司在业务上会有这个需求,标注时可能会有不同语义层级的 Category

from poplar.

felixhpp avatar felixhpp commented on May 21, 2024

@longfangsong 嗯,非常感谢。期待以后可以加一个通过配置控制

from poplar.

longfangsong avatar longfangsong commented on May 21, 2024

从npm版本v1.3.0之后,在config中设置allowMultipleLabelfalse可以不允许重复标记同一个词。
@felixhpp

from poplar.

Wuou avatar Wuou commented on May 21, 2024

nice 重复标注可以配置了

from poplar.

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.