{"id":13466923,"url":"https://github.com/facebookarchive/duckling_old","last_synced_at":"2025-12-12T01:20:22.769Z","repository":{"id":17073091,"uuid":"19838018","full_name":"facebookarchive/duckling_old","owner":"facebookarchive","description":"Deprecated in favor of https://github.com/facebook/duckling","archived":true,"fork":false,"pushed_at":"2019-05-30T14:10:47.000Z","size":1639,"stargazers_count":1320,"open_issues_count":70,"forks_count":217,"subscribers_count":77,"default_branch":"master","last_synced_at":"2024-05-20T22:46:21.696Z","etag":null,"topics":["nlp","nlu","parser"],"latest_commit_sha":null,"homepage":"https://duckling.wit.ai","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/facebookarchive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-15T23:02:02.000Z","updated_at":"2024-05-01T09:45:59.000Z","dependencies_parsed_at":"2022-09-13T08:12:27.544Z","dependency_job_id":null,"html_url":"https://github.com/facebookarchive/duckling_old","commit_stats":null,"previous_names":["wit-ai/duckling"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebookarchive%2Fduckling_old","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebookarchive%2Fduckling_old/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebookarchive%2Fduckling_old/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/facebookarchive%2Fduckling_old/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/facebookarchive","download_url":"https://codeload.github.com/facebookarchive/duckling_old/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234382636,"owners_count":18823331,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nlp","nlu","parser"],"created_at":"2024-07-31T15:00:51.431Z","updated_at":"2025-09-28T23:30:40.611Z","avatar_url":"https://github.com/facebookarchive.png","language":"Clojure","funding_links":[],"categories":["Clojure","人工智能"],"sub_categories":[],"readme":"# Deprecation notice\n\nAs of May 1st, 2017 we're deprecating this repository in favor of [the new Duckling](https://github.com/facebookincubator/duckling). See our [blog post announcement](https://wit.ai/blog/2017/05/01/new-duckling).\n\nThanks to all the contributors!\n\n# Duckling\n\n[![Clojars Project](https://clojars.org/wit/duckling/latest-version.svg)](http://clojars.org/wit/duckling)\n\nDuckling is a Clojure library that parses text into structured data:\n\n    “the first Tuesday of October” =\u003e {:value \"2014-10-07T00:00:00.000-07:00\"\n                                       :grain :day}\n\n\nYou can try it out at https://duckling.wit.ai\n\nSee our [blog post announcement](https://wit.ai/blog/2014/10/01/open-source-parser-duckling) for more context.\n\n## Getting started\n\nTo use Duckling in your project, you just need two functions: `load!` to load the default configuration, and `parse` to parse a string.\n\n```clojure\n(ns myproject.core\n  (:require [duckling.core :as p]))\n\n(p/load!) ;; Load all languages\n\n(p/parse :en$core ;; core configuration for English ; see also :fr$core, :es$core, :zh$core\n         \"wake me up the last Monday of January 2015 at 6am\"\n         [:time]) ;; We are interested in :time expressions only ; see also :duration, :temperature, etc.\n\n;; =\u003e [{:label :time\n;;        :start 15\n;;        :end 49\n;;        :value {:type \"value\", :value \"2015-01-26T06:00:00.000-02:00\", :grain :hour}\n;;        :body \"last Monday of January 2015 at 6am\"}]\n```\n\nSee the [documentation](https://duckling.wit.ai) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacebookarchive%2Fduckling_old","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffacebookarchive%2Fduckling_old","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffacebookarchive%2Fduckling_old/lists"}