Add annotation helper for spacy foundry
Change-Id: I3e347a24201c6903294b0c017f0adbeddeb82e24
diff --git a/dev/js/src/hint/foundries/spacy.js b/dev/js/src/hint/foundries/spacy.js
new file mode 100644
index 0000000..5eabc71
--- /dev/null
+++ b/dev/js/src/hint/foundries/spacy.js
@@ -0,0 +1,13 @@
+define(["hint/foundries", "hint/foundries/upos"], function (ah, uposArray) {
+ ah["-"].push(
+ ["spaCy", "spacy/", "Lemma, Part-of-Speech"]
+ );
+
+ ah["spacy/"] = [
+ ["Lemma", "l="],
+ ["Part-of-Speech", "p="]
+ ];
+
+ ah["spacy/p="] = uposArray;
+
+});