Support NKJP named entity annotations in annotation assistant
Change-Id: I4d04c46bb77ae85a07ebbb3dd5964c4d87d8d1ec
diff --git a/Changes b/Changes
index 48fb453..479125a 100644
--- a/Changes
+++ b/Changes
@@ -8,6 +8,8 @@
- Fix support for dot-symbols in (corpus/doc/text)-IDs
(diewald)
- Update information regarding CSP in conf (diewald)
+ - Support NKJP named entities in annotation helper
+ (diewald)
0.50 2023-05-08
- Improvement of NKJP-annotation helper. (diewald)
diff --git a/dev/js/src/hint/foundries/nkjp.js b/dev/js/src/hint/foundries/nkjp.js
index 0d176bb..0531819 100644
--- a/dev/js/src/hint/foundries/nkjp.js
+++ b/dev/js/src/hint/foundries/nkjp.js
@@ -1,6 +1,6 @@
define(["hint/foundries"], function (ah) {
ah["-"].push(
- ["NKJP", "nkjp/", "Morphology, Part-of-Speech"]
+ ["NKJP", "nkjp/", "Lemma, Morphology, Named Entities, Original Values, Part-of-Speech"]
);
ah["nkjp/"] = [
@@ -150,4 +150,21 @@
["pun", "pun ", "With full stop"],
["npun", "npun ", "Without full stop"]
];
+
+ ah["nkjp/ne="] = [
+ ["persName","persName ","Personal name"],
+ ["persName:forename","persName:forename ","Personal forename"],
+ ["persName:surname","persName:surname ","Personal surname"],
+ ["persName:addname","persName:addname ","Personal addname"],
+ ["orgName","orgName ","Organizational name"],
+ ["geogName","geogName ","Geographical name"],
+ ["placeName","placeName ","Absolute or relative place name"],
+ ["placeName:district","placeName:district ","Subdivision place name"],
+ ["placeName:settlement","placeName:settlement ","Settlement place name"],
+ ["placeName:region","placeName:region ","Administrative unit place name"],
+ ["placeName:country","placeName:country ","Country name"],
+ ["placeName:bloc","placeName:bloc ","Geopolitical unit name"],
+ ["date","date ","Date information"],
+ ["time","time ","Time information"]
+ ];
});