-
Notifications
You must be signed in to change notification settings - Fork 1
Library API
Reto Gmür edited this page Aug 21, 2021
·
5 revisions
Status: sketch
const synonymGroup = new SynonymGroup(sparqlEndpoint, "Sadayoshia acamar");
for await (const justifiedSynonim of synonymGroup) {
//do something with synonym
for await (const justification of justifiedSynonim.justifications) {
//do something with justification
}
}
myStopButton.addEventListener("click", () => synonymGroup.abortSearch())