hshindo / jukainlp-web Goto Github PK
View Code? Open in Web Editor NEWWeb App for JukaiNLP
License: MIT License
Web App for JukaiNLP
License: MIT License
Currently, the system uses 'brat' toolkit (http://brat.nlplab.org/) for visualization, but I want to re-implement the same functions by React from scratch to introduce new functions (visualization of translation, etc.) for the system.
It is convenient to notify a user of the state of websocket connection.
For example, if the websocket connection succeeds, show a prompt or show a sign at the bottom of window.
Similarly, when the connection failed, show a prompt or a sign.
My idea is as follows.
{
"sentence": [
[1,13], [15,24],
],
"pos": [
[1,1,"NNP"], [3,6,"VBP"], [8,8,"DT"], [10,13,"NN"],
[15,16,"NNP"], [18,19,"VBP"], [21,24,"JJ"],
],
"entity": [
[1,6,"PERSON"], [15,19,"LOCATION"],
],
"trans-ja": [
"私はペンを持っています。",
"彼は親切です。"
],
"trans_en": [
"I have a pen.",
"He is kind",
],
"trans_cn": [
"我有一支笔。",
"他人很好",
],
}
Each span indicates the start and end range indexes.
I prefer this style because it is compact, extensible, and easy to create for server-side.
Note that julia-server
is necessary for server-side.
The server-side api (ws://jukainlp.hshindo.com/) has been changed.
See README for details.
The client-side JSON parsing should be updated according to the new format.
A list of labels and colors are put on julia-server/pos.conf
and entity.conf
.
It is better to make a client-side read this kind of config files for visualization.
If something wrong with server-side, please let me know.
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.