Natural Language Parsing

chronic Recommended

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

chronic 52,301,131 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 13,469,731 Downloads Last release

hpoydar/chronic_duration Last commit


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

nickel 74,172 Downloads Last release

iainbeeston/nickel Last commit

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

Join 66,029+ 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.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

    © 2022 GoRails, LLC. All rights reserved.