File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/edu/stanford/nlp/pipeline/demo Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1616 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/dagre-d3/0.4.17/dagre-d3.min.js "> </ script >
1717
1818 <!-- CoreNLP -->
19- < link rel ="stylesheet " type ="text/css " href ="corenlp-brat.css?v4.2.2 "/>
20- < script type ="text/javascript " src ="corenlp-brat.js?v4.2.2 "> </ script >
19+ < link rel ="stylesheet " type ="text/css " href ="corenlp-brat.css?v4.3.0 "/>
20+ < script type ="text/javascript " src ="corenlp-brat.js?v4.3.0 "> </ script >
2121
2222 < meta charset ="UTF-8 ">
2323</ head >
7575 < option value ="en " selected > English </ option >
7676 < option value ="fr " > French </ option >
7777 < option value ="de " > German </ option >
78+ < option value ="hu " > Hungarian </ option >
79+ < option value ="it " > Italian </ option >
7880 < option value ="es " > Spanish </ option >
7981 </ select >
8082 </ div >
Original file line number Diff line number Diff line change @@ -214,6 +214,8 @@ function annotators() {
214214 var annotators = "tokenize,ssplit" ;
215215 if ( $ ( '#language' ) . val ( ) === 'de' | $ ( '#language' ) . val ( ) === 'fr' | $ ( '#language' ) . val ( ) === 'es' ) {
216216 annotators += ",mwt" ;
217+ } else if ( $ ( '#language' ) . val ( ) === 'hu' | $ ( '#language' ) . val ( ) === 'it' ) {
218+ annotators = "cdc_tokenize" ;
217219 }
218220 $ ( '#annotators' ) . find ( 'option:selected' ) . each ( function ( ) {
219221 annotators += "," + $ ( this ) . val ( ) ;
You can’t perform that action at this time.
0 commit comments