diff --git a/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DateTimeParserConfig.scala b/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DateTimeParserConfig.scala index e1f89ac10b..9b3a0096ef 100644 --- a/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DateTimeParserConfig.scala +++ b/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DateTimeParserConfig.scala @@ -21,6 +21,7 @@ object DateTimeParserConfig "ga" -> Map("eanáir"->1,"feabhra"->2,"marta"->3,"aibreán"->4,"bealtaine"->5,"meitheamh"->6,"iúil"->7,"lúnasa"->8,"meán fómhair"->9,"deireadh fómhair"->10,"samhain"->11,"nollaig"->12), "gl" -> Map("xaneiro"->1,"febreiro"->2,"marzo"->3,"abril"->4,"maio"->5,"xuño"->6,"xullo"->7,"agosto"->8,"setembro"->9,"outubro"->10,"novembro"->11,"decembro"->12, "xan"->1,"feb"->2,"mar"->3,"abr"->4,"mai"->5,"xuñ"->6,"xul"->7,"ago"->8,"set"->9,"out"->10,"nov"->11,"dec"->12), + "hi" -> Map("जनवरी"->1, "फरवरी"->2, "मार्च"->3, "अप्रैल"->4, "मई"->5, "जून"->6, "जुलाई"->7, "अगस्त"->8, "सितम्बर"->9, "अक्टूबर"->10, "नवंबर"->11, "दिसंबर"->12) "hr" -> Map("siječanj"->1,"veljača"->2,"ožujak"->3,"travanj"->4,"svibanj"->5,"lipanj"->6,"srpanj"->7,"kolovoz"->8,"rujan"->9,"listopad"->10,"studeni"->11,"prosinac"->12), "id" -> Map("januari"->1,"februari"->2,"maret"->3,"april"->4,"mei"->5,"juni"->6,"juli"->7,"agustus"->8,"september"->9,"oktober"->10,"november"->11,"desember"->12), "it" -> Map("gennaio"->1,"febbraio"->2,"marzo"->3,"aprile"->4,"maggio"->5,"giugno"->6,"luglio"->7,"agosto"->8,"settembre"->9,"ottobre"->10,"novembre"->11,"dicembre"->12), @@ -60,6 +61,7 @@ object DateTimeParserConfig "fr" -> Map("av\\. J\\.-C\\."-> -1, "ap\\. J\\.-C\\." -> 1), "ga" -> Map("B\\.C\\." -> -1, "R\\.C\\." -> -1, "r\\. Chr\\." -> -1, "BC" -> -1, "RC" -> -1, "A\\.D\\." -> 1, "AD" -> 1, "I\\.C\\." -> 1, "IC" -> 1), "gl" -> Map("AC"-> -1, "A\\.C\\."-> -1, "DC"-> 1, "D\\.C\\."-> 1, "aC"-> -1, "a\\.C\\."-> -1, "dC"-> 1, "d\\.C\\."-> 1, "AEC"-> -1, "A\\.E\\.C\\."-> -1 , "EC"-> 1, "E\\.C\\."-> 1), + "hi" -> Map("ई\\.पू\\." -> -1, "BC" -> -1, "ई॰" -> 1, "CE"-> 1, "AD"-> 1, "AC"-> -1), "it" -> Map("AC"-> -1, "A\\.C\\."-> -1, "DC"-> 1, "D\\.C\\."-> 1, "AD"-> 1, "A\\.D\\."-> 1, "PEV"-> -1, "P\\.E\\.V\\."-> -1, "EV"-> 1, "E\\.V\\." -> 1), "ja" -> Map("前"-> -1, "B\\.C\\."-> -1, "西暦"-> 1), "nl" -> Map("v\\.Chr\\." -> -1, "n\\.C\\."-> 1, "v\\.C\\." -> -1, "n\\.Chr\\."-> 1, "voor Chr\\." -> -1, "na Chr\\."-> 1), @@ -79,6 +81,7 @@ object DateTimeParserConfig "fr" -> "er|nd|ème", "ga" -> "ú", "gl" -> "°|\\.°|°\\.|ª|\\.ª|ª\\.|º|\\.º|º\\.", + "hi" -> "वॉ" "it" -> "°|\\.°|°\\.", "nl" -> "ste|de|e", "pt" -> "°|\\.°|°\\.", diff --git a/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DurationParserConfig.scala b/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DurationParserConfig.scala index f91458058c..198bf6302d 100644 --- a/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DurationParserConfig.scala +++ b/core/src/main/scala/org/dbpedia/extraction/config/dataparser/DurationParserConfig.scala @@ -328,6 +328,19 @@ object DurationParserConfig "año" -> "year", "años" -> "year" ), + "hi" -> Map( + "सेकेंड" -> "second", + "सेकेण्ड" -> "second", + "s" -> "second", + "\"" -> "second", + "मिनट" -> "minute", + "\’" -> "minute", + "m" -> "minute", + "घंटा" -> "hour", + "दिन" -> "day", + "महीना" -> "month", + "वर्ष" -> "year", + ), "it" -> Map( "secondo" -> "second", "secondi" -> "second",