Make hint foundries configurable
Resolves #173
and the milestone from, originally, 1 Apr 2025
Change-Id: Iaa062ae4831187c96f99f339b29cc4374cc31afd
diff --git a/dev/js/src/default.js b/dev/js/src/default.js
index 344feac..39d211e 100644
--- a/dev/js/src/default.js
+++ b/dev/js/src/default.js
@@ -1,5 +1,15 @@
+/**
+ * Default foundries to include in the Kalamar JavaScript bundle.
+ * The actual foundries shown at runtime are controlled by the
+ * hint_foundries configuration or KALAMAR_HINT_FOUNDRIES env var.
+ */
require([
"hint/foundries/base",
- "hint/foundries/ud",
- "hint/foundries/dereko"
+ "hint/foundries/corenlp",
+ "hint/foundries/dereko",
+ "hint/foundries/malt",
+ "hint/foundries/marmot",
+ "hint/foundries/opennlp",
+ "hint/foundries/spacy",
+ "hint/foundries/treetagger"
]);