A summary of data about the Ruby ecosystem.

https://github.com/threedaymonk/text

Collection of text algorithms. gem install text
https://github.com/threedaymonk/text

Last synced: about 12 hours ago
JSON representation

Repository metadata

Collection of text algorithms. gem install text

README.rdoc

          = Text

A collection of text algorithms.

== Usage

  require 'text'

=== Levenshtein distance

  Text::Levenshtein.distance('test', 'test')
  # => 0
  Text::Levenshtein.distance('test', 'tent')
  # => 1
  Text::Levenshtein.distance('test', 'testing')
  # => 3
  Text::Levenshtein.distance('test', 'testing', 2)
  # => 2

=== Metaphone

  Text::Metaphone.metaphone('BRIAN')
  # => 'BRN'

  Text::Metaphone.double_metaphone('Coburn')
  # => ['KPRN', nil]
  Text::Metaphone.double_metaphone('Angier')
  # => ['ANJ', 'ANJR']

=== Soundex

  Text::Soundex.soundex('Knuth')
  # => 'K530'

=== Porter stemming

  Text::PorterStemming.stem('abatements')  # => 'abat'

=== White similarity

  white = Text::WhiteSimilarity.new
  white.similarity('Healed', 'Sealed')   # 0.8
  white.similarity('Healed', 'Help')     # 0.25

Note that some intermediate information is cached on the instance to improve
performance.

== Ruby version compatibility

The library has been tested on Ruby 1.8.6 to 1.9.3 and on JRuby.

== Thanks

* Hampton Catlin (hcatlin) for Ruby 1.9 compatibility work
* Wilker Lúcio for the initial implementation of the White algorithm

== License

MIT. See COPYING.txt for details.

        

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 118
Total Committers: 11
Avg Commits per committer: 10.727
Development Distribution Score (DDS): 0.297

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Paul Battley p****y@g****m 83
Tim Fletcher t****e@g****m 10
Hampton Catlin h****n@g****m 9
Pablo Russo p****o@g****m 5
Wilker Lucio w****o@g****m 3
Tim Fletcher m****l@t****m 3
Tom Crouch t****h@g****m 1
Rob Sharp r****b@s****u 1
Martin Ottenwaelter m****r@g****m 1
Bill Kolokithas k****b@g****m 1
Michael Noack m****l@m****) 1

Committer domains:


Issue and Pull Request metadata

Last synced: 17 days ago

Total issues: 10
Total pull requests: 13
Average time to close issues: 3 months
Average time to close pull requests: 6 days
Total issue authors: 9
Total pull request authors: 8
Average comments per issue: 3.0
Average comments per pull request: 1.85
Merged pull request: 5
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/threedaymonk/text

Top Issue Authors

  • mrueg (2)
  • Ben-M (1)
  • HamptonMakes (1)
  • yorickpeterse (1)
  • boutil (1)
  • jablan (1)
  • johnnyshields (1)
  • oprogfrogo (1)
  • ranierorusso (1)

Top Pull Request Authors

  • pablorusso (3)
  • wilkerlucio (3)
  • martoche (2)
  • ptyagi16 (1)
  • brightball (1)
  • freestyl3r (1)
  • tim (1)
  • qnm (1)

Top Issue Labels

Top Pull Request Labels


Package metadata

gem.coop: text

A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double Metaphone, Porter Stemming

  • Homepage: http://github.com/threedaymonk/text
  • Documentation: http://www.rubydoc.info/gems/text/
  • Licenses: MIT
  • Latest release: 1.3.1 (published over 10 years ago)
  • Last Synced: 2025-12-10T00:30:27.250Z (2 days ago)
  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 62,512,115 Total
  • Docker Downloads: 544,979,515
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.154%
    • Docker downloads count: 0.182%
    • Downloads: 0.435%
  • Maintainers (1)
rubygems.org: text

A collection of text algorithms: Levenshtein, Soundex, Metaphone, Double Metaphone, Porter Stemming

  • Homepage: http://github.com/threedaymonk/text
  • Documentation: http://www.rubydoc.info/gems/text/
  • Licenses: MIT
  • Latest release: 1.3.1 (published over 10 years ago)
  • Last Synced: 2025-12-10T18:01:55.868Z (1 day ago)
  • Versions: 15
  • Dependent Packages: 48
  • Dependent Repositories: 1,862
  • Downloads: 62,521,540 Total
  • Docker Downloads: 544,979,515
  • Rankings:
    • Docker downloads count: 0.221%
    • Downloads: 0.433%
    • Dependent packages count: 0.569%
    • Dependent repos count: 0.72%
    • Average: 1.4%
    • Stargazers count: 2.359%
    • Forks count: 4.097%
  • Maintainers (1)
gem.coop: Text

This gem is now just a legacy shim with one dependency: text

  • Homepage: http://github.com/threedaymonk/text
  • Documentation: http://www.rubydoc.info/gems/Text/
  • Licenses: other
  • Latest release: 1.1.3 (published over 13 years ago)
  • Last Synced: 2025-12-09T19:03:34.377Z (3 days ago)
  • Versions: 5
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 469,283 Total
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 1.434%
    • Downloads: 4.301%
  • Maintainers (3)
rubygems.org: Text

This gem is now just a legacy shim with one dependency: text

  • Homepage: http://github.com/threedaymonk/text
  • Documentation: http://www.rubydoc.info/gems/Text/
  • Licenses: other
  • Latest release: 1.1.3 (published over 13 years ago)
  • Last Synced: 2025-12-09T19:03:34.300Z (3 days ago)
  • Versions: 5
  • Dependent Packages: 6
  • Dependent Repositories: 5
  • Downloads: 469,283 Total
  • Rankings:
    • Stargazers count: 2.344%
    • Dependent packages count: 2.498%
    • Downloads: 3.745%
    • Forks count: 4.083%
    • Average: 4.508%
    • Dependent repos count: 9.871%
  • Maintainers (3)
proxy.golang.org: github.com/threedaymonk/text

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/threedaymonk/text#section-documentation
  • Licenses: other
  • Latest release: v1.3.1 (published over 10 years ago)
  • Last Synced: 2025-12-09T19:03:35.486Z (3 days ago)
  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 2.502%
    • Forks count: 3.736%
    • Average: 6.644%
    • Dependent packages count: 9.56%
    • Dependent repos count: 10.779%

Dependencies

text.gemspec rubygems
  • rake ~> 10.0 development

Score: 29.688285151037213