jiesutd / YEDDA

YEDDA: A Lightweight Collaborative Text Span Annotation Tool. Code for ACL 2018 Best Demo Paper Nomination.
Apache License 2.0
1.02k stars 297 forks source link

[question]bugs on MacOS #23

Closed bytekongfrombupt closed 5 years ago

bytekongfrombupt commented 5 years ago

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

jiesutd commented 5 years ago

It works ok in my MacOS system. Please show me your UI and the file you loaded.

bytekongfrombupt commented 5 years ago

this is a part of my data, and the pics were captured when i loaded the part of data. the first pic shows that YEDDA didnt response when i load the data, the second pic came up after the first pic validation_30.csv.zip

WeChat5655891555dc26afcf4929a4c9d2c420 WeChat4287f265b438ae9012a85c955acef345
jiesutd commented 5 years ago

It does not support the .csv file format. It only support txt file. It is not a bug. As I said in the readme file:

Click Open button and select your input file. (You may set your file name ended with .txt or .ann if possible)

bytekongfrombupt commented 5 years ago

i tried the .txt file, it doesnt work either

jiesutd commented 5 years ago

Send me a copy

bytekongfrombupt commented 5 years ago

validation_30.txt.zip

bytekongfrombupt commented 5 years ago

i use Pandas to transform data from csv to txt

jiesutd commented 5 years ago

Yes, I can reimplement your report. It is actually a weird Apple OSX bug: https://github.com/sqweek/dialog/issues/24

The problem may be the OSX has some bug when loading the file containing the emoji text.

Solution: If you remove the emoji (third sentences in your txt file), then YEDDA can work.

bytekongfrombupt commented 5 years ago

thanks a lot,! your solution is perfect, i just transform the emoji to str with PYPI emoji, and now it works!