import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { soundfold } = fn;
Return the sound-folded equivalent of {word}. Uses the first language in 'spelllang' for the current window that supports soundfolding. 'spell' must be set. When no sound folding is possible the {word} is returned unmodified. This can be used for making spelling suggestions. Note that the method can be quite slow.
Can also be used as a method
:
GetWord()->soundfold()
Parameters
denops: Denops