rhymer:在给定句子中查找押韵短语组合的库

时间:2021-05-25 01:46:19
【文件属性】:
文件名称:rhymer:在给定句子中查找押韵短语组合的库
文件大小:11KB
文件格式:ZIP
更新时间:2021-05-25 01:46:19
ruby gem mecab natto Ruby 押韵 在给定句子中查找押韵短语组合的库。 安装方式 克隆存储库。 git clone https://github.com/suzuki86/rhymer.git 转到克隆的目录。 cd rhymer 安装所需的宝石。 bundle install 建立宝石。 gem build rhymer.gemspec 安装它。 gem install rhymer-x.x.x.gem 相依性 natto , thor必须是可用的。 如何使用 Rhymer::Parser.new句子作为参数Rhymer::Parser.new给Rhymer::Parser.new将生成一个包含测试结果的实例。执行实例的rhymes方法将返回一组押韵短语组合。 require "rhymer" rhymer = Rhymer :: Parser . new ( "今日はとても良い天気ですね。こ
【文件预览】:
rhymer-master
----LICENSE.txt(1KB)
----lib()
--------rhymer()
--------rhymer.rb(107B)
----Gemfile(91B)
----spec()
--------rhymer()
--------spec_helper.rb(164B)
--------rhymer_spec.rb(131B)
----Rakefile(117B)
----.travis.yml(637B)
----README.md(2KB)
----rhymer.gemspec(1KB)
----.rspec(53B)
----exe()
--------rhymer(61B)
----.gitignore(87B)
----bin()
--------console(331B)
--------setup(115B)

网友评论