Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rojvv/rustress

Repository files navigation

rustress

JavaScript inference-based stress marker for Russian based on the prior works StressRNN and russtress.

Installation

Deno

deno add jsr:@roj/rustress

pnpm

pnpm add jsr:@roj/rustress

Yarn

yarn add jsr:@roj/rustress

npm

npx jsr i @roj/rustress

Usage

import { markStresses } from "@roj/rustress";

const text = await markStresses("Проставь, пожалуйста, ударения");
console.log(text);

API

Currently, only the method mentioned above is exported. The full documentation is available here.