时间跨度和日期的常见自然语言表达是什么?

时间:2013-06-02 18:55:08

标签: datetime nlp

我正在创建一个自然语言日期解析器,用于安排每月几次到一个月或一年几次的重复事件。

请帮我想一想表达这些事件的常用方法(额外语言的奖金比英语多)

这是我到目前为止所拥有的:

twice everyday
once every week
Mondays and Thursdays
No later than 1/25
as needed every day
twice the last sun of every month
the 5th friday of every month at 8

修改 这段视频非常有助于思考自然语言日期模式。

http://youtu.be/m-hdy9a4ac4

代码:https://github.com/dcparker/temporals

我仍然希望得到一些其他的例子

编辑2 显然关键词是:

Temporal Words and Phrases
Adverbs of Time

法语      http://french.about.com/od/vocabulary/a/time.htm

une fois - once
une fois par semaine - once a week
quotidien - daily
tous les jours - every day
tous les deux jours - every other day
hebdomadaire - weekly
toutes les semaines - every week
mensuel - monthly
annuel - yearly

编辑3 如有疑问,请找一个标准......

http://search.cpan.org/dist/DateTime-Format-Natural/lib/DateTime/Format/Natural/Lang/EN.pm

0 个答案:

没有答案
相关问题