~/talk

ctparse: a practical parser for natural language time expressions...

Talkat PyData Berlin 2018 · 2018-07-06..07-08· [python, web-platform]
links:none on file
slides:none on file

ctparse is a pure python MIT-License library that turns messy time phrases into structured time or interval objects by combining regex terminals with a grammarlike production system and a naive Bayes reranker. It targets near‑future, domain‑specific use (English and German), ships as alpha, and trains on a corpus of ~40,000 labeled strings for evaluation. Performance slightly outperforms Duckling on internal data, but common failures include typos, long search timeouts, and the need to rebuild models when rules change; extensibility and language additions are straightforward.

AI-written summary · about

  1. 0:00Parsing natural language time
  2. 3:57Motivation for ctparse
  3. 7:32Formal grammars in time parsing
  4. 12:50Probabilistic context-free grammars
  5. 21:08How ctparse interprets time
  6. 24:59Live demo of ctparse
  7. 27:04Language support and future work
  8. 32:09Limitations of ctparse
  9. 34:17Q&A: Rule generation
  10. 36:48Q&A: Comparison with libraries
  11. 38:55Q&A: Complex time contexts
  12. 40:23Q&A: Design choices
  13. 42:23Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.