anystyle icon indicating copy to clipboard operation
anystyle copied to clipboard

Is the *token editor* part of the package?

Open dlazesz opened this issue 6 years ago • 2 comments

The most interesting part of the program is the token editor. Sadly exporting throws HTTP 500 when any manual modification is made.

Is the token editor part of the current or legacy package? Or is it planned to be able to self host a similar page as https://anystyle.io/? Could you fix the internal server error?

dlazesz avatar Apr 02 '19 17:04 dlazesz

Which labels did you use? Exporting works for me after making modifications so my first guess is that there might be labels which are not part of the current training set and therefore not known to the current model. It's likely that this is causing the issue.

The site and the legacy package have pretty much reached their end of life. I would very much like to create a new 'anystyle-web' component, including the editor and server API, to expose the parser's new functionality and make it easy to self-host the whole package. To do this right will likely require a full re-write of both components, probably using a combination of Rails and React (the editor is written using Coffeescript and Angular 1.x in what seems like a very distant past), something for which I currently lack time and resources. I'd do my best to support anyone wanting to take a stab at this though!

inukshuk avatar Apr 02 '19 20:04 inukshuk

I've just realized it parses one reference at once. The length of the input was the key. Smaller input works, larger triggers the error. It would be nice, if it could parse multiple consecutive references. (I know it's completely out of question right now.)

Thank you for the explanation. Hopefully someone will take the task! Feel free to close/edit the issue.

dlazesz avatar Apr 03 '19 19:04 dlazesz