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:
moozzyk 2020-12-14 16:26:13 -08:00 committed by Facebook GitHub Bot
parent 17f11135f2
commit c33249b4dd
2 changed files with 2 additions and 1 deletions

View File

@ -30,6 +30,7 @@ allExamples = concat
, "1 sekund"
, "jeden sekundzie"
, "pojedynczy sekundach"
, "mniej więcej jedną sekundę"
]
, examples (DurationData 30 Minute)
[ "pol godziny"

View File

@ -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