diff --git a/Specs/DateTime/Hindi/SetExtractor.json b/Specs/DateTime/Hindi/SetExtractor.json index a8ec4f27de..14e06b6a31 100644 --- a/Specs/DateTime/Hindi/SetExtractor.json +++ b/Specs/DateTime/Hindi/SetExtractor.json @@ -71,6 +71,18 @@ } ] }, + { + "Input": "मैं ऐनुअली एक बार जाता हूं", + "NotSupportedByDesign": "javascript,python,java", + "Results": [ + { + "Text": "ऐनुअली एक बार", + "Type": "set", + "Start": 4, + "Length": 13 + } + ] + }, { "Input": "मैं हर दो दिन में जाती हूं", "NotSupportedByDesign": "javascript,python,java", @@ -83,6 +95,18 @@ } ] }, + { + "Input": "मैं प्रत्येक दूसरे दिन जाती हूं", + "NotSupportedByDesign": "javascript,python,java", + "Results": [ + { + "Text": "प्रत्येक दूसरे दिन", + "Type": "set", + "Start": 4, + "Length": 18 + } + ] + }, { "Input": "मैं हरेक तीन हफ़्तों में जाऊँगा", "NotSupportedByDesign": "javascript,python,java", @@ -95,6 +119,18 @@ } ] }, + { + "Input": "मैं हर तीसरे हफ़्ते जाती हूं", + "NotSupportedByDesign": "javascript,python,java", + "Results": [ + { + "Text": "हर तीसरे हफ़्ते", + "Type": "set", + "Start": 4, + "Length": 14 + } + ] + }, { "Input": "मैं रोज़ शाम 3 बजे जाऊँगा", "NotSupportedByDesign": "javascript,python,java", @@ -313,6 +349,7 @@ }, { "Input": "क्या मैं 09th मई को 2 रातों के लिए बुकिंग करवा सकता हूँ ", + "Comment": "(Can I do a booking for the 09th of May for 2 nights?). Hindi does not use plurals of weekdays such as 'Mondays', 'mornings', 'nights'", "NotSupported": "dotnet", "NotSupportedByDesign": "javascript,python,java", "Results": [ diff --git a/Specs/DateTime/Hindi/SetParser.json b/Specs/DateTime/Hindi/SetParser.json index 4cb4211662..59496df5af 100644 --- a/Specs/DateTime/Hindi/SetParser.json +++ b/Specs/DateTime/Hindi/SetParser.json @@ -172,6 +172,7 @@ "Context": { "ReferenceDateTime": "2017-09-27T12:25:54.2909444+03:00" }, + "Comment": "The input literally translates to 'I'll leave each in two days' and 'in two days' is processed as Date instead of Duration", "NotSupported": "dotnet", "NotSupportedByDesign": "javascript,python,java", "Results": [ @@ -197,6 +198,7 @@ "Context": { "ReferenceDateTime": "2017-09-27T12:25:54.2959472+03:00" }, + "Comment": "The input literally translates to 'I'll leave each in three weeks' and 'in three weeks' is processed as Date instead of Duration", "NotSupported": "dotnet", "NotSupportedByDesign": "javascript,python,java", "Results": [ @@ -624,5 +626,29 @@ "Length": 8 } ] + }, + { + "Input": "मैं हर संडे को जाउंगा", + "Context": { + "ReferenceDateTime": "2017-09-27T12:25:54.4710739+03:00" + }, + "NotSupportedByDesign": "javascript,python,java", + "Results": [ + { + "Text": "हर संडे", + "Type": "set", + "Value": { + "Timex": "XXXX-WXX-7", + "FutureResolution": { + "set": "Set: XXXX-WXX-7" + }, + "PastResolution": { + "set": "Set: XXXX-WXX-7" + } + }, + "Start": 4, + "Length": 7 + } + ] } ] \ No newline at end of file