diff --git a/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/Rules.scala b/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/Rules.scala index 44c9fac7..a1644e79 100644 --- a/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/Rules.scala +++ b/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/Rules.scala @@ -171,7 +171,6 @@ trait Rules extends DimRules { ) private def intersectToken(options: Options, td1: TimeData, td2: TimeData): Option[Token] = { - println(td1, td2) // 破除(y-m)-d和y-(m-d)均构造出来的问题 if (td1.hint == YearMonth && td2.hint == DayOnly) None // 固定顺序,避免(y-m)-(d H-M-S) 以及(y)-(m-d H-M-S)出现 diff --git a/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/repeat/Rules.scala b/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/repeat/Rules.scala index df0b5957..0f52a5a3 100644 --- a/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/repeat/Rules.scala +++ b/duckling-fork-chinese/core/src/main/scala/com/xiaomi/duckling/dimension/time/repeat/Rules.scala @@ -162,7 +162,7 @@ trait Rules extends DimRules with LazyLogging { // 周一到周五早上八点 val ruleIntervalTime = Rule( name = "