mirror of
https://github.com/facebook/duckling.git
synced 2024-11-28 00:31:28 +03:00
Fix typo in PL Duration Rules (#426)
Summary: 'miej' in Polish is the imperative form of the verb 'mieć' (to have). "mniej więcej" means "more or less" and it was the intention here. Pull Request resolved: https://github.com/facebook/duckling/pull/426 Reviewed By: patapizza, girifb Differential Revision: D25546380 Pulled By: chessai fbshipit-source-id: 1047b83109cab917f1f4dbe87b667f8ccd2fb92d
This commit is contained in:
parent
17f11135f2
commit
c33249b4dd
@ -30,6 +30,7 @@ allExamples = concat
|
||||
, "1 sekund"
|
||||
, "jeden sekundzie"
|
||||
, "pojedynczy sekundach"
|
||||
, "mniej więcej jedną sekundę"
|
||||
]
|
||||
, examples (DurationData 30 Minute)
|
||||
[ "pol godziny"
|
||||
|
@ -95,7 +95,7 @@ ruleAboutDuration :: Rule
|
||||
ruleAboutDuration = Rule
|
||||
{ name = "about <duration>"
|
||||
, pattern =
|
||||
[ regex "(oko(l|ł)o|miej wi(ę|e)cej|jakie(s|ś))"
|
||||
[ regex "(oko(l|ł)o|mniej wi(ę|e)cej|jakie(s|ś))"
|
||||
, dimension Duration
|
||||
]
|
||||
, prod = \tokens -> case tokens of
|
||||
|
Loading…
Reference in New Issue
Block a user