Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muaazsaleem/substrings
An infinitesimal adventure in text processing
https://github.com/muaazsaleem/substrings
Last synced: 23 days ago
JSON representation
An infinitesimal adventure in text processing
- Host: GitHub
- URL: https://github.com/muaazsaleem/substrings
- Owner: muaazsaleem
- Created: 2014-08-26T16:00:49.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-08-26T16:04:56.000Z (about 10 years ago)
- Last Synced: 2024-02-13T02:08:06.512Z (9 months ago)
- Language: Ruby
- Size: 121 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#substring an adventure in text processing
Implement a method #substrings that takes a word as the first argument and then an array of valid substrings (your dictionary) as the second argument. It should return a hash listing each substring (case insensitive) that was found in the original string and how many times it was found.
via [The Odin Project](theodinproject.com)