Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sprql/syllabify.js

Split Russian words into syllables (фонетическое деление слова на слоги)
https://github.com/sprql/syllabify.js

Last synced: 24 days ago
JSON representation

Split Russian words into syllables (фонетическое деление слова на слоги)

Awesome Lists containing this project

README

        

# Syllabify

Split Russian words into syllables (фонетическое деление слова на слоги)

## Install

```
$ npm install syllabify
```

## Usage

```js
const syllabify = require('syllabify')
// or
// import syllabify from 'syllabify'

syllabify('Вдохновение')
//=> [ 'Вдо', 'хно', 'ве', 'ни', 'е' ]
```

## API

### syllabify(word)

#### Parameters

##### word

Type: `string`

A word to syllabify.

#### Return value

Type: `array`

Array of syllables of the word.