混淆点:火柴支持什么?
What does confusion points: matches stand by?
我正在尝试训练话语,每当我为枚举类型概念赋值时,它都会告诉我混淆点匹配。混淆点匹配是什么意思?
我会检查您是否有枚举类型的 vocab 文件。如果没有vocab文件,枚举将无法被自然语言识别。
您需要一个 vocab 文件来支持这些符号。
比如这张。请注意,路径很重要 - 确保它在您的语言环境中。
vocab(Planet) {
"Mercury" { "Mercury" }
"Venus" { "Venus" }
"Earth" { "Earth" "The Old Earth" }
"Mars" { "Mars" "The Red Planet" }
"Jupiter" { "Jupiter" }
"Saturn" { "Saturn" }
"Uranus" { "Uranus" }
"Neptune" { "Neptune" }
"Pluto" { "Pluto" }
}
这是该词汇的关联枚举:
enum (Planet) {
description (The resort's affiliated planetary system (include the planet and its moons). Since the list and vocab is exhaustive, we can use an enum.)
symbol (Mercury)
symbol (Venus)
symbol (Earth)
symbol (Mars)
symbol (Jupiter)
symbol (Saturn)
symbol (Uranus)
symbol (Neptune)
symbol (Pluto)
}
我正在尝试训练话语,每当我为枚举类型概念赋值时,它都会告诉我混淆点匹配。混淆点匹配是什么意思?
我会检查您是否有枚举类型的 vocab 文件。如果没有vocab文件,枚举将无法被自然语言识别。
您需要一个 vocab 文件来支持这些符号。
比如这张。请注意,路径很重要 - 确保它在您的语言环境中。
vocab(Planet) {
"Mercury" { "Mercury" }
"Venus" { "Venus" }
"Earth" { "Earth" "The Old Earth" }
"Mars" { "Mars" "The Red Planet" }
"Jupiter" { "Jupiter" }
"Saturn" { "Saturn" }
"Uranus" { "Uranus" }
"Neptune" { "Neptune" }
"Pluto" { "Pluto" }
}
这是该词汇的关联枚举:
enum (Planet) {
description (The resort's affiliated planetary system (include the planet and its moons). Since the list and vocab is exhaustive, we can use an enum.)
symbol (Mercury)
symbol (Venus)
symbol (Earth)
symbol (Mars)
symbol (Jupiter)
symbol (Saturn)
symbol (Uranus)
symbol (Neptune)
symbol (Pluto)
}