facebook/duckling
Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings. observed · 2026-08-28
Health v2 · maintenance only
55/100
- Activity 72
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3472
- days_rel: n/a
- days_push: 171
- n_releases_24m: 0
Adoption not part of the score
4313 stars · 740 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Duckling is a Haskell library that parses natural language text into structured data, extracting entities like dates, times, amounts of money, numbers, and durations. It ships with an example HTTP server so non-Haskell backends can use it via a simple API.
Use cases
- parse dates and times from user text like 'tomorrow at eight'
- extract amounts of money and durations from chat messages
- recognize credit card numbers and phone numbers in input strings
- build a chatbot that understands quantities and ordinals
- run an entity-extraction HTTP service for a non-Haskell backend
When to choose
- you need deterministic, rule-based entity extraction without training data
- you're building a conversational assistant that must understand dates, times, money, and numbers
- you want a self-hosted alternative to wit.ai's built-in entities
When to avoid
- you need general-purpose NLP like sentiment analysis or named-entity recognition of people and places
- your stack can't run Haskell or host a separate parsing service
- you need ML-based extraction that adapts to novel phrasings
Facets
library · maturity active
nlp parser http-server developer-tools windows entity-extraction haskell text-parsing date-parsing wit-ai natural-language-processing linux macos
1 source
- readme: https://github.com/facebook/duckling · fetched 2026-08-28 · fd9b747465d9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebook/duckling | main | 55 |
For agents
markdown · JSON · MCP: product_card(name="facebook/duckling")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem