diff --git a/Duckling/Ranking/Classifiers/EN_AU.hs b/Duckling/Ranking/Classifiers/EN_AU.hs index 87c2efbf..f7cbfbe2 100644 --- a/Duckling/Ranking/Classifiers/EN_AU.hs +++ b/Duckling/Ranking/Classifiers/EN_AU.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_BZ.hs b/Duckling/Ranking/Classifiers/EN_BZ.hs index 272b5672..aaab1ffb 100644 --- a/Duckling/Ranking/Classifiers/EN_BZ.hs +++ b/Duckling/Ranking/Classifiers/EN_BZ.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_CA.hs b/Duckling/Ranking/Classifiers/EN_CA.hs index 5df4d930..26d8f416 100644 --- a/Duckling/Ranking/Classifiers/EN_CA.hs +++ b/Duckling/Ranking/Classifiers/EN_CA.hs @@ -2502,8 +2502,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2702,18 +2702,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_GB.hs b/Duckling/Ranking/Classifiers/EN_GB.hs index fe85ecce..0648c8d7 100644 --- a/Duckling/Ranking/Classifiers/EN_GB.hs +++ b/Duckling/Ranking/Classifiers/EN_GB.hs @@ -2445,8 +2445,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2635,18 +2635,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_IE.hs b/Duckling/Ranking/Classifiers/EN_IE.hs index 59df9f3c..7624846e 100644 --- a/Duckling/Ranking/Classifiers/EN_IE.hs +++ b/Duckling/Ranking/Classifiers/EN_IE.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_IN.hs b/Duckling/Ranking/Classifiers/EN_IN.hs index 84fb66d8..cee6ff67 100644 --- a/Duckling/Ranking/Classifiers/EN_IN.hs +++ b/Duckling/Ranking/Classifiers/EN_IN.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_JM.hs b/Duckling/Ranking/Classifiers/EN_JM.hs index f350e09d..e7dbe5d2 100644 --- a/Duckling/Ranking/Classifiers/EN_JM.hs +++ b/Duckling/Ranking/Classifiers/EN_JM.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_NZ.hs b/Duckling/Ranking/Classifiers/EN_NZ.hs index 2aba0560..bb20fdcc 100644 --- a/Duckling/Ranking/Classifiers/EN_NZ.hs +++ b/Duckling/Ranking/Classifiers/EN_NZ.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_PH.hs b/Duckling/Ranking/Classifiers/EN_PH.hs index a4724d38..5b2a54e3 100644 --- a/Duckling/Ranking/Classifiers/EN_PH.hs +++ b/Duckling/Ranking/Classifiers/EN_PH.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_TT.hs b/Duckling/Ranking/Classifiers/EN_TT.hs index b954a94e..6294cc90 100644 --- a/Duckling/Ranking/Classifiers/EN_TT.hs +++ b/Duckling/Ranking/Classifiers/EN_TT.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_US.hs b/Duckling/Ranking/Classifiers/EN_US.hs index 887ddf3c..53412da8 100644 --- a/Duckling/Ranking/Classifiers/EN_US.hs +++ b/Duckling/Ranking/Classifiers/EN_US.hs @@ -2522,8 +2522,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2743,18 +2743,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_XX.hs b/Duckling/Ranking/Classifiers/EN_XX.hs index 6ac9c649..573bca0f 100644 --- a/Duckling/Ranking/Classifiers/EN_XX.hs +++ b/Duckling/Ranking/Classifiers/EN_XX.hs @@ -2410,8 +2410,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2600,18 +2600,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/EN_ZA.hs b/Duckling/Ranking/Classifiers/EN_ZA.hs index 42047e4c..34a6832f 100644 --- a/Duckling/Ranking/Classifiers/EN_ZA.hs +++ b/Duckling/Ranking/Classifiers/EN_ZA.hs @@ -2385,8 +2385,8 @@ classifiers n = 7}}), ("March", Classifier{okData = - ClassData{prior = 0.0, unseen = -3.044522437723423, - likelihoods = HashMap.fromList [("", 0.0)], n = 19}, + ClassData{prior = 0.0, unseen = -3.0910424533583156, + likelihoods = HashMap.fromList [("", 0.0)], n = 20}, koData = ClassData{prior = -infinity, unseen = -0.6931471805599453, likelihoods = HashMap.fromList [], n = 0}}), @@ -2566,18 +2566,17 @@ classifiers likelihoods = HashMap.fromList [], n = 0}}), ("in |year", Classifier{okData = - ClassData{prior = -0.2719337154836418, - unseen = -3.6635616461296463, + ClassData{prior = -0.2578291093020998, unseen = -3.713572066704308, likelihoods = HashMap.fromList - [(" (bc|ad)", -1.845826690498331), - ("October", -2.9444389791664407), - ("year (latent)", -1.3350010667323402), - ("year", -0.9295359586241757), ("March", -2.9444389791664407), - ("month", -2.538973871058276)], - n = 16}, + [(" (bc|ad)", -1.8971199848858813), + ("October", -2.995732273553991), + ("year (latent)", -1.3862943611198906), + ("year", -0.9808292530117262), ("March", -2.5902671654458267), + ("month", -2.3025850929940455)], + n = 17}, koData = - ClassData{prior = -1.4350845252893227, unseen = -2.833213344056216, + ClassData{prior = -1.4816045409242156, unseen = -2.833213344056216, likelihoods = HashMap.fromList [("October", -1.6739764335716716), diff --git a/Duckling/Ranking/Classifiers/IT_XX.hs b/Duckling/Ranking/Classifiers/IT_XX.hs index 6673e458..5b0fa772 100644 --- a/Duckling/Ranking/Classifiers/IT_XX.hs +++ b/Duckling/Ranking/Classifiers/IT_XX.hs @@ -320,10 +320,10 @@ classifiers unseen = -4.31748811353631, likelihoods = HashMap.fromList - [(" (latent time-of-day)", -0.9718605830289658), + [(" (latent time-of-day)", -0.9718605830289657), ("intersect by \"di\", \"della\", \"del\"", -3.20545280453606), ("day", -2.3581549441488563), ("Lunedi", -3.6109179126442243), - ("hour", -0.9718605830289658), + ("hour", -0.9718605830289657), ("two time tokens separated by `di`", -3.20545280453606), ("Domenica", -3.6109179126442243)], n = 33}}), diff --git a/Duckling/Time/EN/Corpus.hs b/Duckling/Time/EN/Corpus.hs index 0b693557..58e12ef3 100644 --- a/Duckling/Time/EN/Corpus.hs +++ b/Duckling/Time/EN/Corpus.hs @@ -1103,6 +1103,7 @@ allExamples = concat , examples (datetime (2013, 3, 1, 0, 0, 0) Month) [ "March" , "in March" + , "during March" ] , examples (datetime (2013, 2, 13, 17, 0, 0) Hour) [ "tomorrow afternoon at 5" diff --git a/Duckling/Time/EN/Rules.hs b/Duckling/Time/EN/Rules.hs index 7f5ff0cc..52bc6bf4 100644 --- a/Duckling/Time/EN/Rules.hs +++ b/Duckling/Time/EN/Rules.hs @@ -105,9 +105,9 @@ ruleAbsorbOnADOW = Rule ruleAbsorbInMonthYear :: Rule ruleAbsorbInMonthYear = Rule - { name = "in |year" + { name = "in|during |year" , pattern = - [ regex "in" + [ regex "in|during" , Predicate $ or . sequence [isAMonth, isGrainOfTime TG.Year] ] , prod = \tokens -> case tokens of