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 16
16
< script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/dagre-d3/0.4.17/dagre-d3.min.js "> </ script >
17
17
18
18
<!-- 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 >
21
21
22
22
< meta charset ="UTF-8 ">
23
23
</ head >
75
75
< option value ="en " selected > English </ option >
76
76
< option value ="fr " > French </ option >
77
77
< option value ="de " > German </ option >
78
+ < option value ="hu " > Hungarian </ option >
79
+ < option value ="it " > Italian </ option >
78
80
< option value ="es " > Spanish </ option >
79
81
</ select >
80
82
</ div >
Original file line number Diff line number Diff line change @@ -214,6 +214,8 @@ function annotators() {
214
214
var annotators = "tokenize,ssplit" ;
215
215
if ( $ ( '#language' ) . val ( ) === 'de' | $ ( '#language' ) . val ( ) === 'fr' | $ ( '#language' ) . val ( ) === 'es' ) {
216
216
annotators += ",mwt" ;
217
+ } else if ( $ ( '#language' ) . val ( ) === 'hu' | $ ( '#language' ) . val ( ) === 'it' ) {
218
+ annotators = "cdc_tokenize" ;
217
219
}
218
220
$ ( '#annotators' ) . find ( 'option:selected' ) . each ( function ( ) {
219
221
annotators += "," + $ ( this ) . val ( ) ;
You can’t perform that action at this time.
0 commit comments