0
462 次瀏覽

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 點) 提出
已重新顯示 | 462 次瀏覽

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 提出 已提問 10月 3, 2024
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 提出 已提問 11月 7, 2017
0
1 個回答 54 次瀏覽
我建立了一個輔助專案,供新的 MTT 使用 作為他培訓的一部分,我希望他檢查其他 MTT 翻譯的第一稿文本 我已將主專案中幾個由 MTT 翻譯的章節文本複製到輔助專案中 我要求新 MTT 做的一件事就是進行拼字更正 因此,我希望輔助專案中 ... 有沒有辦法實現這一點?還是每次需要更新時,我都必須手動複製該檔案?或者有沒有更好的方法來實現我想做的事?謝謝
Kirk 123 提出 已提問 5月 8, 2025
0
1 個回答 227 次瀏覽
我正在尋找一種簡單的方法,幫助印尼語團隊對其回譯進行拼寫檢查,以便他們更容易進行搜尋 @LivingField 在回覆一個關於如何對英文/法文/西班牙文回譯進行拼寫檢查的問題時提到,您可以將名為 SpellingStatus.xml 的檔案複製到回 ... 可以相對容易地利用拼寫檢查工具找出並更正拼寫錯誤的詞彙,但要為其他所有詞彙逐一點選勾號會花很長時間
janetoruh 102 提出 已提問 1月 17, 2025
0
2 個回答 237 次瀏覽
我希望子專案擁有與父專案相同的核准拼字和核准譯法。
JeffSHR 110 提出 已提問 8月 15, 2024
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
And let us consider how we may spur one another on toward love and good deeds, not giving up meeting together, as some are in the habit of doing, but encouraging one another—and all the more as you see the Day approaching.
Hebrews 10:24-25
3,045 個問題
6,005 個回答
5,671 則評論
2,026 位使用者