First commit on the local Gitea server, made after moving the tree off the Windows machine. Build outputs, node_modules and the AI models stay out (see .gitignore); everything the installer build needs is tracked. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
15 lines
426 B
JavaScript
15 lines
426 B
JavaScript
import * as GreekWordNet from './services/greekWordNet.js';
|
|
|
|
// Expose on window for quick testing from DevTools console:
|
|
// await greekWordNet.lemmatize('reginarum')
|
|
// await greekWordNet.searchLemmas('bula')
|
|
// await greekWordNet.lookupLemma('sicula','n')
|
|
try {
|
|
window.greekWordNet = GreekWordNet;
|
|
console.log('[WordNet] Greek WordNet client ready on window.greekWordNet');
|
|
} catch (_) {
|
|
// no-op
|
|
}
|
|
|
|
|