我遇到了与“术语表意外的非构词字符”问题相关的问题,但我将原始问题移动到了这个新线程,因为在我的情况下,我在术语表标记内的文本中看到了“意外的非构词字符”错误;也就是说,在 \w…\w* 或 +w…+w* 标记之间链接到术语表条目的文本(样式名称:Peripheral Ref - Wordlist Entry)。
标记基本检查似乎期望在 \w…\w* 标记之间是单个单词,当在那里使用非构词字符时会抛出错误。在我们的情况下,我们有一些可接受的关键词渲染包含逗号,还有更多包含连字符的情况。这些标点符号用法的上下文有效性已在标点符号清单中正确设置(即连字符仅标记为有效的词中字符,逗号仅标记为有效的词尾字符)。它们也都列在字符清单中作为有效字符,但我们不想在项目设置 > 语言设置 > 其他字符中将它们中的任何一个列为词中标点,因为那样会为每个与连字符连写的动词代词附着语组合在词表中创建许多不同的单词。
有没有办法允许这些非构词字符在 \w…\w* 标记内的关键词渲染中有效,而无需将它们定义为词中标点,还是我们唯一的其他选择是否认此错误的所有消息?
I have a problem related to the issue “Glossary unexpected non-wordforming characters”, but I’m moving my original question to this new thread because in my case I’m seeing “unexpected non-wordforming character” errors for text within glossary markups; ie text that is linked to a glossary entry between \w…\w* or +w…+w* markers (style name: Peripheral Ref - Wordlist Entry).
The Markers basic check seems to expect single words between the \w…\w* markers and throws an error when non-wordforming characters are used there. In our case, we have some acceptable keyterm renderings that include commas, and many more cases that include hyphens. The validity of the contexts for these punctuations’ usages are set correctly in the Punctuation Inventory (ie hyphen is only marked as valid word-medial and comma is marked as valid only word-final). They are both listed as valid in the Characters Inventory as well, but we don’t want to list either of them as word-medial punctuation in Project Settings > Language Settings > Other Characters because that would create many different words in the word list for each combination of verb pronoun enclitic that are written together with the hyphen.
Is there a way to allow for these non-wordforming characters as valid in a keyword rendering within the \w…\w* markers without defining them as word-medial punctuation, or is our only other option to deny all the messages for this error?
机器翻译自 English