Skip to content

Commit

Permalink
Release: 2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hotoo committed Apr 11, 2021
1 parent ef421fe commit b0f12df
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

## 2.10.0 (2021-04-11)

- feat(group): Support group
- dict: fixed "别鹤离鸾脏䄜" pinyin dict.

## 2.9.1 (2020-05-03)

- dict: fixed 氓's pinyin dict. #272
Expand Down
9 changes: 9 additions & 0 deletions README-us_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ Default is `false`.

Enable or disable heteronym mode. default is disabled, `false`.

### `<Boolean> options.group`

Group pinyin by phrases. for example:

```
我喜欢你
wǒ xǐhuān nǐ
```

### `<Object> options.style`

Specify pinyin style. please use static properties like `STYLE_*`.
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ options 是可选的,可以设定拼音风格,或打开多音字选项。

启用多音字模式时,返回多音字的所有拼音列表。

### `<Boolean> options.group`

按词组分组拼音,例如:

```
我喜欢你
wǒ xǐhuān nǐ
```

### `<Object> options.style`

指定拼音 风格。可以通过以下几种 `STYLE_` 开头的静态属性进行指定。
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pinyin",
"version": "2.9.1",
"version": "2.10.0",
"description": "汉语拼音转换工具。",
"files": [
"bin",
Expand Down

0 comments on commit b0f12df

Please sign in to comment.