Natural Language Parsing



Chronic is a natural language date/time parser written in pure Ruby.

chronic 20,674,319 Downloads Last release

mojombo/chronic Last commit


A simple Ruby natural language parser for elapsed time. (For example, 4 hours and 30 minutes, 6 minutes 4 seconds, 3 days, etc.) Returns all results in seconds. Will return an integer unless you get tricky and need a float. (4 minutes and 13.47 seconds, for example.) The reverse can also be performed via the output method.

chronic_duration 3,185,332 Downloads Last release

hpoydar/chronic_duration Last commit


Extracts date, time, and message information from naturally worded text.

nickel 35,435 Downloads Last release

iainbeeston/nickel Last commit

Want to stay up-to-date with Ruby on Rails?

Join 35,095+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.