strings-inflection:在单数和复数形式的英语名词之间转换

时间:2021-05-25 14:13:51
【文件属性】:
文件名称:strings-inflection:在单数和复数形式的英语名词之间转换
文件大小:143KB
文件格式:ZIP
更新时间:2021-05-25 14:13:51
ruby rubygem strings inflection Ruby 字符串::变形 变形英语名词和动词。 字符串::拐点提供了名词的英语语调和动词组成。 动机 目的是提供一种全面的方法来使英语中的大多数名词和动词变形。 该宝石使用的算法基于对英语中7,000个最常用名词和6,000个最常用动词的分析。 因此,对于大多数单词,您将获得正确的变形: Strings :: Inflection . pluralize ( "cod" ) # => "cod" Strings :: Inflection . pluralize ( "codex" ) # => "codices" Strings :: Inflection . pluralize ( "criterion" ) # => "criteria" Strings :: Inflection . pluralize ( "vertebra" ) # => "vertebrae" 安装 将此行添加
【文件预览】:
strings-inflection-master
----.github()
--------ISSUE_TEMPLATE.md(554B)
--------FUNDING.yml(20B)
--------PULL_REQUEST_TEMPLATE.md(447B)
--------workflows()
----LICENSE.txt(1KB)
----benchmarks()
--------speed.rb(354B)
----strings-inflection.gemspec(1KB)
----lib()
--------strings()
--------strings-inflection.rb(38B)
----Gemfile(385B)
----spec()
--------fixtures()
--------perf()
--------spec_helper.rb(1KB)
--------unit()
----tasks()
--------coverage.rake(222B)
--------spec.rake(837B)
--------console.rake(239B)
----Rakefile(143B)
----README.md(13KB)
----.rspec(48B)
----appveyor.yml(687B)
----CODE_OF_CONDUCT.md(3KB)
----.gitignore(127B)
----bin()
--------console(353B)
--------setup(131B)
----CHANGELOG.md(153B)

网友评论