2.2.2 • Published 5 years ago

ask-jp-formatter v2.2.2

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Alexa Japanese content formatter

Alexaでの発話を日本語化する際のヘルパー関数です。

Getting started

$ npm i -S ask-jp-formatter

Usage

const {
  replaceDescription,
  replaceSpeechContent,
  replaceLabel
} = require('ask-jp-formatter')

replaceDescription('テストである。仕方ないが、確認する。')
'テストです。仕方ありませんが、確認します。'

replaceSpeechContent('『テスト&チェック』 (1990年1月 - )')
'テストアンドチェック (1990年1月生まれ)'

replaceLabel('『テスト&チェック』')
'「テスト&チェック」'

Contributing

$ git clone https://github.com/ask-utils/ask-jp-formatter,.git
$ cd sparql-client
$ git checkout -b YOUR_TOPIC_BRANCH
$ npm i

Before PR

Please pass following check before make your Pull Request.

$ npm run lint
$ npm test
2.2.2

5 years ago

2.2.1

5 years ago

2.2.0

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.0

6 years ago