Comments (5)
@felixhpp 因为同一个词可以有多个正交的Category
,所以我们允许重复标记同一个词
如果要禁止这么做,可以在客户代码中进行,方法是在添加过程中检测Store
中是否有这个Label
如果发现大部分用户都希望不允许重复标记同一个词,我们会考虑加入这个功能(或者让它configable
)
from poplar.
@felixhpp 公司在业务上会有这个需求,标注时可能会有不同语义层级的 Category
from poplar.
@longfangsong 嗯,非常感谢。期待以后可以加一个通过配置控制
from poplar.
从npm版本v1.3.0之后,在config
中设置allowMultipleLabel
为false
可以不允许重复标记同一个词。
@felixhpp
from poplar.
nice 重复标注可以配置了
from poplar.
Related Issues (20)
- connectionCategories以及labelCategories可以动态修改吗
- 项目中使用该包进行初始化后存在的问题 HOT 1
- html标签如何使用呢
- DOMException: "Index or size is negative or greater than the allowed amount" HOT 3
- Failed to execute 'getExtentOfChar' on 'SVGTextContentElement' HOT 2
- 跨多行connection渲染失败 HOT 1
- 当把含有annotator的部分做成组件 然后在主页面中进行循环渲染时,svg永远只有300px宽度 HOT 1
- ie11
- 多行标注,标签显示不出的问题 HOT 3
- labelCategories为空数组时,文章只显示一行内容?
- contentInsert 为何只能键盘输入 手动给value赋值报错 HOT 1
- 火狐浏览器标注位置显示错误的问题
- contentEditable为false时,导出svg报错
- 可否写一个简明的启动说明文档 HOT 3
- 构造函数第一个参数使用字符串报错 HOT 1
- 数据读取
- 没有鼠标悬浮事件
- 样式无法修改 HOT 1
- config 完全不起作用
- Bug: selection of more than one line gives a unexpected behaviour
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poplar.