# stemming-x-keywords

> get stemming unknown keywords by using kuromoji.js(ja)

Latest version **1.0.4** (published 2015-10-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install stemming-x-keywords
pnpm add stemming-x-keywords
yarn add stemming-x-keywords
bun add stemming-x-keywords
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2015-10-19 |
| First published | 2015-10-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | azu |
| Maintainers | azu |
| Keywords | stemming, keywords, japanese |

## Links

- npm: https://www.npmjs.com/package/stemming-x-keywords
- Repository: https://github.com/azu/stemming-x-keywords
- Issues: https://github.com/azu/stemming-x-keywords/issues
- npm.io page: https://npm.io/package/stemming-x-keywords

## Dependencies (2)

- [kuromoji](https://npm.io/package/kuromoji.md) 0.0.4
- [array-uniq](https://npm.io/package/array-uniq.md) ^1.0.2

## Recent versions

- 1.0.4 (latest) — 2015-10-19
- 1.0.3 — 2015-10-12
- 1.0.2 — 2015-10-12
- 1.0.1 — 2015-10-12

## README

# stemming-x-keywords

Get stemming unknown keywords.

[kuromoji.js](https://github.com/takuyaa/kuromoji.js "kuromoji.js")を使い形態素解析された単語から、
未知の単語をキーワードとして抽出します。

## 目的

短い技術文章からキーワードらしいものを抽出する目的で実装されています。
技術用語など専門分野の単語は辞書にはないため、`word_type: UNKNOWN`となることを利用してそれをキーワードとして取り出します。

## Installation

    npm install stemming-x-keywords

## Usage

```js
import {getKeywords} from "gstemming-x-keywords";
let text = `ESLintのルールを拡張する仕組みについて解説しています。
ESLintではJavaScriptのコードをパースして作成されたASTを元にコードのLintを行います。
実際にESLintのルールを解釈できる小さな実装を作りながらプラグインの仕組みについて学びます。`;
getKeywords(text).then(keywords => {
    console.log(keywords);
    // [ 'ESLint', 'JavaScript', 'AST', 'Lint', 'プラグインアーキテクチャ' ]
});
```

## Tests

    npm test

## Contributing

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## License

MIT

---
_Source: https://npm.io/package/stemming-x-keywords · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
