Project

mongolian

0.0
The project is in a healthy, maintained state
Mongolian information process, tokenizer, stemming, and so on ...
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

Mongolian

欢迎使用 Mongolian Gem!本 Gem 打包了一些蒙古文处理常用的操作,例如分词、蒙古文转换为拉丁转写等。

安装

安装 Gem 并添加到应用的 Gemfile 可以通过执行:

bundle add mongolian

如果没有使用 bundler 管理依赖,可以通过:

gem install mongolian

直接安装。

用法

  1. 判断一个字符或者词是否包含蒙古文字符;
  2. 蒙古文分词;
  3. 蒙古文词干提取;

开发

查看代码库,运行 bin/setup 安装依赖库。运行 rake test 进行测试。运行 bin/console 启用提示互动体验程序功能。

本地安装 Gem,运行 bundle exec rake install。发布新版本,更新 version.rb 中的版本号,然后运行 bundle exec rake release,这将基于版本号创建一个 Git Tag,推送 Git 提交和创建 Tag,推送 .gem 文件到 rubygems.org

贡献

欢迎到 GitHub 的 https://github.com/hfl/mongolian 代码库提交问题报告和提交软件修正。

许可

本 Gem 基于MIT 许可分发。

Code of Conduct

Everyone interacting in the Mongolian project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.