Add Spacy with STTS bindings to annotation assistant
Change-Id: I7776acbc1c9c607a77edbecd92ea1437b521a4cf
diff --git a/Changes b/Changes
index 66d8bda..8bc6ddf 100644
--- a/Changes
+++ b/Changes
@@ -10,6 +10,7 @@
- Improve test suite for slim images. (diewald)
- Add pages to references in snippet view. (diewald)
- Added category to Piwik calls. (diewald)
+ - Add SpaCy with STTS to annotation assistant. (diewald)
0.54 2024-06-10
- Remove deprecated 'matchInfo' API path. (diewald, margaretha)
diff --git a/dev/js/src/hint/foundries/spacy-stts.js b/dev/js/src/hint/foundries/spacy-stts.js
new file mode 100644
index 0000000..9dc6d98
--- /dev/null
+++ b/dev/js/src/hint/foundries/spacy-stts.js
@@ -0,0 +1,13 @@
+define(["hint/foundries", "hint/foundries/stts"], function (ah, sttsArray) {
+ ah["-"].push(
+ ["spaCy", "spacy/", "Lemma, Part-of-Speech"]
+ );
+
+ ah["spacy/"] = [
+ ["Lemma", "l="],
+ ["Part-of-Speech", "p="]
+ ];
+
+ ah["spacy/p="] = sttsArray;
+
+});