JavaScript inference-based stress marker for Russian based on the prior works StressRNN and russtress.
deno add jsr:@roj/rustress
pnpm add jsr:@roj/rustress
yarn add jsr:@roj/rustress
npx jsr i @roj/rustress
import { markStresses } from "@roj/rustress";
const text = await markStresses("Проставь, пожалуйста, ударения");
console.log(text);
Currently, only the method mentioned above is exported. The full documentation is available here.