GitHub

ikegami-yukino / sengiri

安装pip install sengiri

又一个用于日语文本的句子级分词器

其他语言的说明

统计

统计数据截至 2026年11月17日

GitHub Star 数
24
±0 (10月13日〜)
软件包每周下载数
46
软件包累计下载数
140,000
最后提交
2025年11月
GitHub 创建日期
2019年10月4日
收录日
2022年6月9日

Star 数变化

202224262811月9月7月5月3月2026年1月24
以表格显示
月份Star
2025年12月24
2026年1月24
2026年2月24
2026年3月24
2026年4月24
2026年5月24
2026年6月24
2026年7月24
2026年8月24
2026年9月24
2026年10月24
2026年11月24

各月最后一次快照。1,000 以上的 Star 数按 100 取整。

试用

以下是实际运行这段代码得到的输出。

安装

pip install sengiri ipadic

代码

import ipadic  # sengiri reads MeCab output in the IPA dictionary format
import sengiri

text = "今日はいい天気ですね。明日も晴れるかな?そうだといいな 来週は雨らしいです"

for sentence in sengiri.tokenize(text, mecab_args=ipadic.MECAB_ARGS):
    print(repr(sentence))

运行结果

'今日はいい天気ですね。'
'明日も晴れるかな?'
'そうだといいな\u3000来週は雨らしいです'

已验证:Python 3.12.16 · sengiri 0.2.3 · ipadic 1.0.0 · 2026年11月22日

在 PyPI 上的使用

PyPI 包:sengiri · 截至 2026年10月 的月度数值(ClickPy)

近一年下载量
5,942
来自日本的比例(近一年)
2.1%
依赖它的 PyPI 包
0
其中必需依赖 0

PyPI 月度下载量

05k10k2026年2025年2024年2023年2022年2021年2020年2019年1,474
以表格显示
月份下载量(月)
2019年1月—
2019年2月—
2019年3月—
2019年4月—
2019年5月—
2019年6月—
2019年7月—
2019年8月—
2019年9月—
2019年10月999
2019年11月277
2019年12月424
2020年1月382
2020年2月265
2020年3月408
2020年4月550
2020年5月1,589
2020年6月584
2020年7月2,030
2020年8月1,792
2020年9月2,499
2020年10月1,385
2020年11月1,433
2020年12月1,578
2021年1月1,577
2021年2月1,506
2021年3月1,793
2021年4月1,643
2021年5月1,736
2021年6月6,341
2021年7月6,128
2021年8月6,024
2021年9月5,293
2021年10月2,918
2021年11月3,182
2021年12月3,331
2022年1月2,115
2022年2月3,351
2022年3月8,711
2022年4月7,873
2022年5月8,018
2022年6月8,272
2022年7月8,661
2022年8月9,463
2022年9月5,005
2022年10月939
2022年11月1,345
2022年12月1,232
2023年1月645
2023年2月734
2023年3月586
2023年4月708
2023年5月461
2023年6月654
2023年7月484
2023年8月754
2023年9月462
2023年10月462
2023年11月520
2023年12月416
2024年1月313
2024年2月368
2024年3月358
2024年4月534
2024年5月408
2024年6月381
2024年7月446
2024年8月354
2024年9月485
2024年10月441
2024年11月501
2024年12月292
2025年1月324
2025年2月334
2025年3月378
2025年4月351
2025年5月276
2025年6月141
2025年7月136
2025年8月183
2025年9月214
2025年10月296
2025年11月547
2025年12月446
2026年1月213
2026年2月333
2026年3月293
2026年4月328
2026年5月326
2026年6月425
2026年7月380
2026年8月484
2026年9月693
2026年10月1,474

日语 NLP 整体统计

同分类的热门资源

研究领域相近的资源

通过幻灯片与文章学习