0
461 次浏览

We have a spelling error pattern that seems like there should be an easier way to find them for us to correct, but the interaction of Spelling status with Number settings and Punctuation inventory is making this error elusive.

We are spelling cardinal numbers with the pattern 1pla and not 1-pla. But we are not able to easily find all the places to correct the 1-pla pattern.

Here are our number settings (indicating the cardinal number pattern within the ordinal number field since that is the field where any suffix on a numeral is specified)…
image

In the Wordlist, only pla appears as a word and not the correctly spelled 1pla or the incorrectly spelled 1-pla. In addition, when a word is spelled out and we mark it as incorrect in order to change it to the 1pla pattern, an error message informs us that 1pla is not a valid word. But that’s how ordinal numbers are allowed in the Number Settings.

In the Character inventory the hyphen is marked as a valid character because it is a valid character in other words.

The hyphen is also marked as a valid character in the Punctuation inventory because it is a valid character in certain contexts.

In Language Settings, nothing is defined for word-medial punctuation.

It seems like there should be an easy way to find all the instances of words in the pattern of 1-pla and mark them as incorrect and change them to 1pla, but I don’t see a way.

较早的帖子 - 以原始语言显示
Paratext (280 分) 发布
已重新显示 | 461 次浏览

4 个回答

0
最佳答案

The other respondents have given you the best ways to change all the errors you currently have … but they haven’t answered your question as to why these and any future errors are not being flagged based on the choices in the Number Settings dialog box: the answer is that these choices do not generate spelling errors.

Instead, they are used for the Numbers check: Checking menu ➢ Run Basic Checks…; tick (check) the box next to Numbers (untick the other boxes), choose the range of books/chapters you want to check, and click OK.

You should get a list of numbers that don’t match the patterns you chose as valid.

Extra:

You should probably remove “st nd rd th” from the “Ordinal” settings.

As you point out, “ordinal” is a rather Anglo-centric name for this field. One of the languages I work with has a suffix for “count numbers” – like “one of …”, “two of …”, etc.

You might consider changing the hyphen characters in Initial punctuation and Medial punctuation to a minus (−) (U+2212) and an en dash (–) (U+2013), respectively, since those are the standards used by many publishers – particularly for minus. Then you’d need to include them on your keyboard, e.g. on RightAlt+hyphen. This is what I’ve done for the projects I support – you can see that I’m happily typing en dashes as punctuation in this post :grinning:.

On the other hand, the traditional way to handle nice formatting is at publication time.

较早的帖子 - 以原始语言显示
(1.4k 分) 发布
已重新显示
0

Have you tried using RegExPal? If that doesn’t let you search for
“1-pla” or perhaps “1-pla”, if you temporarily remove the hyphens
from the punctuation in this Number Settings box can you then use
the Replace dialog?

  I haven't checked these suggestions out, but I would try them if

I had this problem.

较早的帖子 - 以原始语言显示
(670 分) 发布
已重新显示

One of these days, I’ll encounter enough problems where RegExPal would be helpful that I’ll finally venture into that area and learn to use it. :smiley:

Temporarily “removing” the hyphens from the punctuation in the Number Settings box helped, but I also had to do two other things. I had to add the hyphen as word-medial punctuation in the Language Settings, and I had to add all the numerals as alphabetic characters in the Language Settings. Now when I search for 1-pla in the Wordlist, it is found, and I can mark it as incorrect and add the correct spelling as 1pla.

Another solution I found was that I can use Find and Replace to look for -pla at the end of words and replace with pla. I could do that without changing those settings above. Maybe that would be better, because now I’m not sure if the Numbers check will work now that the numerals are defined as alphabetic characters.

较早的帖子 - 以原始语言显示

I realise that RegExPal is certainly not a tool for everyone, and it takes “a little bit more than average” skill to use regular expressions. But, you can actually use regular expressions in the normal Paratext Find… dialog box without having to venture into using RegExPal itself.
To do so, just put regex: on the front of the pattern to be searched for. Note that you cannot use regex in the replace box.

较早的帖子 - 以原始语言显示

I don’t think these changes that you’ve made are recommended … though I think the Numbers check will still work, as I believe it ignores the Alphabetic Characters table, and checks all the numbers it finds anyway … though I might be wrong!

较早的帖子 - 以原始语言显示
0

I think you could find all the N-pla words by doing a search for -pla. Maybe search for -pla and replace with pla.

较早的帖子 - 以原始语言显示
[Expert]
(3.3k 分) 发布
0

In the regular find box put:
regex:\d+-pla\b

You can also do a replace
Find:
regex:(?<=\d+)-pla\b
Replace:
pla

I would also remove the English ordinal suffixes from your Number settings.

较早的帖子 - 以原始语言显示
(1.8k 分) 发布
已重新显示

相关问题

0
1 个回答 110 次浏览
我在书卷引言中处理数字范围(如 (1:1-13))时,遇到了中间标点错误 在中间标点设置中,我配置的是: - / : 在起始标点设置中,我配置的是: - + " ( { < [ $ 在结束标点设置中,我配置的是: - ... 短破折号(en dash) 我们只使用短破折号(较短的那个) 对此有什么建议吗?我可以忽略该错误,但我更希望彻底解决它:)
Clear7419 251 发布 提问于 十月 3, 2024
Paratext
0
1 个回答 252 次浏览
In the past couple of days I have identified some weird interactions between a Keyman keyboard and Paratext 8. If I open a ... in all cases it is 8.0.100.33. Any thoughts?
jeffh 1.4k 发布 提问于 十一月 7, 2017
0
1 个回答 54 次浏览
我为一名新的 MTT 创建了一个辅助项目 作为他培训的一部分,我希望他检查其他 MTT 翻译的文本初稿 我已经将主项目中几个由 MTT 翻译的章节文本复制到了辅助项目中 我要求新 MTT 做的一件事就是进行拼写更正 因此,我希望辅助文本能 ... 有没有办法实现这一点?还是说我每次想要更新时都需要手动复制该文件?或者有没有更好的方法来实现我想做的事情?谢谢
Kirk 123 发布 提问于 五月 8, 2025
0
1 个回答 227 次浏览
我正在寻找一种简单的方法,帮助印尼语团队对其回译进行拼写检查,以便他们更容易进行搜索 @LivingField 在回复一个关于如何对英语/法语/西班牙语回译进行拼写检查的问题时提到,可以将一个名为 SpellingStatus.xml 的文件复制到 ... 使用拼写检查工具找到并更正拼写错误的单词,但要为其他所有单词点击对勾以标记为正确,将会花费很长时间
janetoruh 102 发布 提问于 一月 17, 2025
0
2 个回答 237 次浏览
我希望子项目拥有与父项目相同的已批准拼写和已批准译法。
JeffSHR 110 发布 提问于 八月 15, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
All the believers were one in heart and mind. No one claimed that any of their possessions was their own, but they shared everything they had.
Acts 4:32
3,045 个问题
6,005 个回答
5,671 条评论
2,026 位用户