jiesutd / yedda Goto Github PK
View Code? Open in Web Editor NEWYEDDA: A Lightweight Collaborative Text Span Annotation Tool. Code for ACL 2018 Best Demo Paper Nomination.
License: Apache License 2.0
YEDDA: A Lightweight Collaborative Text Span Annotation Tool. Code for ACL 2018 Best Demo Paper Nomination.
License: Apache License 2.0
How many labels can i add at most?
请问YEDDA能够标注实体关系吗?能的话怎么标注实体关系?求指导,谢谢
Hi, Thanks for your nice work!
Following the annotation on the README. First, I tagged an entity "机器", pressed shortcut key 'q'. The entity was deleted. Then, I pressed "ctrl + z", the full text of the imported file disappear and I got an error as follows, and have no idea to deal with it.
Could you please tell me what part of the process went wrong? and how to fix it?
I am very pleased to hear from you on the question's comments.
在标注时一击多中可能会出现问题,RMon开关可以实现只对当前最新标注的字段有效吗?
File "C:/Users/NUC/Downloads/YEDDA-master/YEDDA-master/YEDDA.py", line 834, in main
app = Application(root)
File "C:/Users/NUC/Downloads/YEDDA-master/YEDDA-master/YEDDA.py", line 254, in init
self.readConfig()
File "C:/Users/NUC/Downloads/YEDDA-master/YEDDA-master/YEDDA.py", line 273, in readConfig
config_dict = json.load(fp)
File "C:\Users\NUC\AppData\Local\Programs\Python\Python39\lib\json_init_.py", line 293, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0xa1 in position 15: illegal multibyte sequence
when i select a file to upload, how to do next?
3Q~
why I can't run YEDDA_Admin.py?
Since Chinese tokenizer would not be 100% correct, there may be some wrong word in text.
It would be nice if able to switch between text edit mode and annotator mode. Then one can simply fix the tokenizer error and continue.
有些自动推荐的标注,是错误的,怎么删除啊。
event: A
Command:a
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\python\Anaconda\envs\tenvf\lib\tkinter_init_.py", line 1705, in call
return self.func(*args)
File "D:/python/workspace/YEDDA-master/YEDDA.py", line 313, in textReturnEnter
self.executeCursorCommand(press_key.lower())
File "D:/python/workspace/YEDDA-master/YEDDA.py", line 381, in executeCursorCommand
self.writeFile(self.fileName, content, cursor_index)
File "D:/python/workspace/YEDDA-master/YEDDA.py", line 523, in writeFile
self.autoLoadNewFile(new_name, newcursor_index)
File "D:/python/workspace/YEDDA-master/YEDDA.py", line 542, in autoLoadNewFile
text = self.readFile(fileName)
File "D:/python/workspace/YEDDA-master/YEDDA.py", line 262, in readFile
text = f.read()
File "D:\python\Anaconda\envs\tenvf\lib\codecs.py", line 321, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xbe in position 0: invalid start byte
delete insert: 1.1
A
如何转换成下面的格式?谢谢!
B-TIME I-TIME O O B-ORG I-ORG O O O O O O O O O O O O O O O O O O O O O O O O O O O
不行了,抑制不足点赞之心,拉下来就能跑,满足各种需求,配置方便易改,完美
Hi @jiesutd , good job for text annotator. Is there any plan for supporting text classification and
Chinese word segmentation job annotation?
Hi jiesutd, thank you for building this wonderful tool! A little suggestion here: could you add export settings as some buttons on the GUI so that users don't need to go inside the code, modify it then rerun the program? I think that way it would be more user-friendly.
好多依赖,例如Tkinter 怎么安装, 传统的pip不能找到资源
annotate selection did not work for RTL language . how can i fix that?
请问如何新增实体类别,8个类别有点不够用
I think in utils/recommend.py, the "## forward maximum matching (FMM)" part, the third condition should change to
elif entity_recognized_list[FMM_end] != 0:
i.e. remove the second part
decode_origin[FMM_end] == '\n'
otherwise, when FMM_end
equals the end of a line, decode_origin[FMM_end]
is a newline character, then FMM_end
will be moved one character backward, which will then make decode_origin[FMM_start:FMM_end]
a non-word.
Is there any option to increase number shortcut map labels
git clone https://github.com/jiesutd/YEDDA.git
python YEDDA_Annotator.py
it throw a error.
PS D:\Projects\Test\Information-Extraction-Chinese\YEDDA> python YEDDA_Annotator.py
File "YEDDA_Annotator.py", line 185
print "Action Track: singleLeftClick"
^
SyntaxError: Missing parentheses in call to 'print'
在YEDDA.PY运用快捷键进行标注时会报错:global name "maximum_matching" is not define
hi @jiesutd ,when i use YEDDA on MacOS ,i can not load data into it, it just dosent response at all. can you help me out? thanks
The 'utf-8' characters aren't being recognized by the YEDDA software while trying to annotate text in the Hindi language.
Hi, Thanks for your nice work!
(PS, when I imported a Chinese document, I got an error UnicodeDecodeError: 'gbk' codec can't decode byte.., I changed f = open(filename, "r",encoding="UTF-8") instead of f = open(filename, "r". Then it works )
Following the annotation on the README. First, I put the cursor within an entity "机器" span, press shortcut key 'I'
However, the contents(Chinese) of the imported file disappear and I got an error as follows, and have no idea to deal with it.
Could you please tell me what part of the process went wrong? and how to fix it?
I am very pleased to hear from you on the question's comments.
~/src/YEDDA$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
~/src/YEDDA$ python --version
Python 3.8.10
~/src/YEDDA$ python YEDDA.py
YEDDA launched!
OS: Darwin
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
I see a window with just 3 options: Recommend, Show Tags, and Colorful, of which the last one is unselected. I see no way to select a config or open a text file. Has the interface changed since Python 2.7? Is there a shortcut key to move past this screen?
Could you please provide a version for python3 ?
Following the steps to use it but the shortcuts don't work. Using python 2.7 on Ubuntu 16.04.
Not able to assign multiple labels to same sentence.
when I add a new txt, it was wrong like this:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Users\86152\AppData\Local\Programs\Python\Python39\lib\tkinter_init_.py", line 1885, in call
return self.func(*args)
File "C:\Users\86152\Desktop\YEDDA-py3\YEDDA.py", line 251, in onOpen
text = self.readFile(fl)
File "C:\Users\86152\Desktop\YEDDA-py3\YEDDA.py", line 262, in readFile
text = f.read()
File "C:\Users\86152\AppData\Local\Programs\Python\Python39\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc1 in position 14: invalid start byte
how can I solve the problem?
why not consider compatible with python3?
Hello,
you mean that SUTDAnnotator-event is an annotator for event, however when I tried with SUTDAnnotator-event.py I found nothing different from SUTDAnnotator.py. So where am I wrong?
例如:北京 ***
bio文件:
北 O
京 O
天 O
安 O
门 O
缺失了空格。mac pro M1系统
Is there a limit to the number of sentences in the input file? I have a file with 18948 sentences delimited by newlines but in the UI the file seems to end at 3524 sentences.
第一次python YEDDA.py成功,X掉关闭后,再次python YEDDA.py 就报错,是线程或端口占用吗?
YEDDA launched!
OS: Windows
Traceback (most recent call last):
File "YEDDA.py", line 840, in
main()
File "YEDDA.py", line 834, in main
app = Application(root)
File "YEDDA.py", line 254, in init
self.readConfig()
File "YEDDA.py", line 273, in readConfig
config_dict = json.load(fp)
File "F:\anaconda\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "F:\anaconda\lib\json_init_.py", line 357, in loads
return _default_decoder.decode(s)
File "F:\anaconda\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "F:\anaconda\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Hi,
I really appreciate your project, and was really surprised at the entity recommendation function. If there is a shortcut for annotators to accept or reject the recommendation, I think it would be more brilliant.
这个工具还是比较轻量级,用起来也挺方便的。可惜就是还不支持实体关系标注(只找到了实体标注和事件抽取),请问后续考虑开发实体关系标注功能吗?~
现象是系统注销
sometimes, we need fix the word segmention issue while tagging
How to read .ann files in python?
I open a 6MB Chinese txt file .I got no response when a use shortcuts key like 'a' in the 'EMOn' mode.
if i am in 'RMOff' mode, it is ok.
so do you have any solutions if i do not want to split the big file ?
thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.