1 日に数回から 1 か月または 1 年に数回にわたる定期的なイベントをスケジュールするための自然言語日付パーサーを作成しています。
これらの出来事を表現する一般的な方法を考えるのを手伝ってください (英語以外の追加言語のボーナス)
これが私がこれまでに持っているものです:
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
編集 このビデオは、自然言語の日付パターンについて考えるのに非常に役立ちました。
コード: 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