spell.removeWord( uri as String, word as String ) as null
Remove the word $word from the dictionary at $uri.
Parameters | |
---|---|
uri | The URI of the dictionary. |
word | The word to remove. |
const spell = require("/MarkLogic/spell"); declareUpdate(); spell.removeWord("/mySpell/spell.json", "Fiat") => removes the word "Fiat" from the specified dictionary