Skip to content

Commit 706a0b2

Browse files
J38AngledLuffa
authored andcommitted
updates for 4.3.0
1 parent f72ceda commit 706a0b2

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/edu/stanford/nlp/pipeline/demo/corenlp-brat.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
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>
@@ -75,6 +75,8 @@
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>

src/edu/stanford/nlp/pipeline/demo/corenlp-brat.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)