Annotating data in Doccano [closed] - machine-learning

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 11 months ago.
Improve this question
Does anyone know why I do not get the tags in my dataset as shown on the tutorials/examples? I've highlighted a Dutch word with the tag 'direct medical relevance' but it doesn't appear as tagged when I press the label shortcut.
Does anyone know how to fix this?

Seems like a bug to me, the project repo was updated a few days ago.
The demo has the same problem for me as the one you describe, meaning that nothing happens on mouse button release and I can't set any labels: https://doccano.herokuapp.com/demo/sentiment-analysis
The NER demo which uses a slightly different script still works for me: https://doccano.herokuapp.com/demo/named-entity-recognition
So you could see if you find an issue for this problem (or write one yourself) or you can try to clone and go to an older commit before this problem.
From my personal experience while I found Doccano alright to work with for a while I found there to generally be a lot of bugs and quirks around the frontend interface which can give you a hard time if you try to annotate a large corpus. Also I dislike the fact that you can annotate string spans which are not following the token spans, since that caused me to misclick and having to correct it a lot, but that might be a personal issue. I switched to Universal Data Tools Named Entity Recognition Tool which worked better for me since it does the mentioned things differently and can be run entirely in the browser.

Related

Where can I find more information on special sequences in 'hash' part of URL, I.E. #:~:text=start%20of%20selection,end%20of%20selection [duplicate]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
The community reviewed whether to reopen this question 2 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
Today I noticed that some searches on Google gave me links to results with apparent instructions to highlight text.
Google brought me to What is the maximum size of a zip file on Windows 10 Pro 64... at the following url:
https://superuser.com/questions/1305867/what-is-the-maximum-size-of-a-zip-file-on-windows-10-pro-64-bit#:~:text=4%20GB%20size%20is%20a,about%2016%20exabytes%20size%20limitation
I experimented a little bit further and this seems to be a feature of Google Chrome. It highlights text on the page if you append #:~:text=something to the URL. https://example.com/#:~:text=domain seems to work fine, but only on Chrome (Chrome Beta on the left, Firefox on the right).
The word text together with different characters is a bit hard to google, so I couldn't find anything on the subject.
For finding out more information about these kinds of "URL-hacks" I want to know:
What is this feature of Google Chrome called?
Scroll To Text Fragment
OK, with the help of a friend and at the same time via a comment from Berto99 I found it:
Apparently this is a feature called Scroll To Text Fragment. It is enabled by default since Chrome 80, but apparently not yet implemented in other browsers.
There are quite nice examples in the "W3C Community Group Draft Report". More good examples can be found on Wikipedia.
Highlighting the first appearance of a certain text
Just append #:~:text=<text> to the URL. The text search is not case-sensitive.
Example: https://example.com#:~:text=domain
Highlighting a whole section of text
You can use #:~:text=<first word>,<last word> to highlight a whole section of text.
Example: https://stackoverflow.com/questions/62161819/what-exactly-is-the-text-location-hash-in-an-url/62162093#:~:text=Apparently,Wikipedia
More advanced techniques
Prefixing and suffixing like the example suggested in the repository for the suggestion https://en.wikipedia.org/wiki/Cat#:~:text=Claws-,Like%20almost,the%20Felidae%2C,-cats texts as proposed don't seem to work for me (yet? I use Chrome 83).
You can style the look of the highlighted text with the CSS :target and you can opt your website out so this feature does not work with it anymore.

Links don't work in internet explorer 10 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I found that hyper links in a webpage i develop don't work in internet explorer v10 or v9, i've been for a while looking for answer and i can't to figure out anything. If i change to compatible mode to 9 it doesn't work either, but in compatibility mode with internet explorer 8 links work properly. Coding is UTF8 and HTML5.
The site: http://www.barcimaster.com
Everything looks fine in my IE11, but from your answer to my remark, I had an illumination. The problem is not the links, but most probably the CSS+HTML slicing of your page. Here's how I see it : for some reasons, you've got an element overlapping your links in IE. Therefore, when you hover the links, you actually hover this overlapping elements, and you can't click on the links and actually don't even get the pointer (the hand with finger) when hovering it.
So what you need to do is review you HTML and CSS (from what I saw, you've got quite a lot of work on this) so that nothing overlaps your links in IE.
I'm not 100% sure of this, but that's a situation I ran through several times during my career, and this explanation was almost always the good one. The good thing is that with developer tools nowadays, it's quite easy to find overlapping elements !

Is there an excuse for not using tests? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
I went to one company. It's some big international product on Ruby (as they say).
So first day I came there - I look at their code - and it has long methods (pagedown each, many nested if's, inline calls to external libraries - nightmare), and almost no tests.
They say company is on the market for a year or so, it has 20 programmers that all work on same product, but all I see for now is that part of them finds bugs, and other part randomly fixes those bugs (which they make themselves because they treat tests as something they don't have time to do).
Has anyone worked with such products?
I know how bad a program without tests and refactoring can get. But they ask me to learn the product better before making a decision. Am I not getting something?
There are a lot of excuses. None of them are valid. The problem also is that it is a slippery scale. Once you stop writing tests, or did not start writing tests, it is a hellish task to start adding tests to old code. Tests are documentation, and a lot of documentation is missing without tests. So you will not know why specific parts of code are there, or why they are (at first sight) that bad. Sometimes there is a good reason.
Tell your boss that a good way to learn the product is to write tests. Start with cucumber, because that way you do not need to know the insides of the application. Check your test coverage (e.g. with simple_cov). That gives nice measurable feedback (progress). Then focus on model tests.
Be the change. Educate. If that is not possible, draw your conclusions :)

omniture 10/17 release - anyone experience the following issues? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
On 10/17, adobe issued release 1.4 (Version 15), which wrote over all of our event, evar and prop field names... has anyone else experienced this issue? If so, how did you fix it?
I have not seen this happen (I work with a lot of clients who use SiteCatalyst.. haven't heard anything from them nor seen it myself). I would first try logging out and clearing cache/cookies and then log back in. I have sometimes noticed weird behavior in menus after changes (like creating/updating saint classifications), and doing this fixes it. But if that doesn't work, you can just go into your interface and relabel them (you have to have admin privs). Kinda inconvenient, but doable.
Also.. if there is more than one person with admin access to your SC interface.. you should ask around and see if anybody messed with it. Another way this could happen is for example if someone made a new report suite and was looking to dupe the variable labels/settings from an existing one.. and then messed up the process. For example, if you select 2 (or more rsids) and go into the prop listing, it will normally say "multiple" as a value if they do not match up between rsids.. but when you make a change, it's changing all selected rsids..

Is there a web application equivalent of Hypercard? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Recently, I found an interesting Wiki/CMS/Database hybrid called Wagn, where the most important unit of information is the 'Card'. That terminology immediately made me think of Hypercard. As expected, there is some "Hypercard-ness" in that application.
Do you know of other web applications/frameworks with that "Hypercard-ness" thing, or if its successor still must be invented?
Note: I insist on web applications because I already know the desktop ones.
Check out Runtime Revolution at http://www.runrev.com they have a language/IDE that is the spiritual successor to HyperCard. They also have a product in beta called RevWeb which is a plugin not unlike Flash that is able to execute stacks.
Now more on the web framework front, checkout Rodeo at http://alltiera.com/ which is a HyperCard like web application that generates HTML/CSS/JS stuff for you.
I am a customer of Runtime Revolution but I haven't used Rodeo so I can only help with building web applications using RevTalk (like HyperTalk) and not with Rodeo.
There was http://tilestack.com for a while. Sadly it closed down again. It even imported HyperCard stacks.
I have found that quote from Dan Ingalls in the book "Coders At Work" (p.382):
"A decade or two ago there was Hypercard [...] It's really strange that that whole experience didn't naturally go right into the web. I think there's still a role to be filled there with tools as simple as HyperCard and as immediate as the web. It would be cool if it went that way.".
If one of the inventor of Smalltalk is asking that question too, I'm almost sure that there is no valid answers...
Anyone interested in inventing that future?
Google's AppEngine is being called the web Hypercard.
http://www.skrenta.com/2008/04/appengine_web_hypercard_finall.html
Googel App Engine - http://code.google.com/appengine/

Resources