julian_lang_en:将英语短语解析为 library(julian) 约束

时间:2024-07-09 21:12:52
【文件属性】:

文件名称:julian_lang_en:将英语短语解析为 library(julian) 约束

文件大小:6KB

文件格式:ZIP

更新时间:2024-07-09 21:12:52

Prolog

概要 ?- use_module(library(julian)). ?- use_module(library(julian/lang/en)). % parse English into Julian constraints ?- phrase(english_form(Form), "Tuesday in April"). Form = [month(april), dow(tuesday)]. % iterate dates matching an English description ?- form_time(english("weekday in August 2013"), Dt), form_time(Y-M-D, Dt), date(T). Y = 2013, M = 8, D = 1 ; Y = 2013, M = 8, D = 2 ; Y = 2013


【文件预览】:
julian_lang_en-master
----prolog()
--------julian()
--------README.md(12B)
----t()
--------examples.pl(2KB)
----LICENSE(1KB)
----pack.pl(403B)
----dev.pl(63B)
----.gitignore(14B)
----README.md(3KB)

网友评论