非常感謝這個資訊!
我剛試了一下,但它還沒有完全做到我希望它做到的事情。
以下是我調整後的 RegEx:
regex:(?<!\w|\\[cv] )(kopo|menas|misika|foa|faev|siks|seven|eit|nain|ten|ileven|tuelv|tetin|fotin|fiftin|seventin|eitin|naintin|tuenti|teti|foti|fifti|siksti|seventi|eiti|nainti|andled|taosen|[0-9])
就目前而言,這找到的實例比應該的多得多,例如,以 ‹ten› 開頭的動詞前綴。如果我們能將搜尋限制為符合以下條件的單字,那就太好了:
- 在單字開頭或前面有連字符
- 以及在單字結尾或後面有連字符
另一方面,由於我們在子句層級有語法聲調,大多數元音最終都可能帶有變音符號(áàāa᷄â),但這些出現的情況未被找到。似乎每当我在 Paratext 的 Find 中使用 RegEx 時,Ignore Diacritics And Vowel Points 都不起作用,因此 Paratext 找不到例如 ‘sevén’。
有什麼想法可以解決這些問題嗎?
再次感謝!
附註:我知道 Numbers Settings,並且已經為新約設定好了,但似乎沒有辦法包含用文字寫成的數字。(或者是有嗎?)
Thank you very much for this!
I just tried it out, but it doesn't quite do yet what I would like it to do.
Here is my RegEx, as I adapted it:
regex:(?<!\w|\\[cv] )(kopo|menas|misika|foa|faev|siks|seven|eit|nain|ten|ileven|tuelv|tetin|fotin|fiftin|seventin|eitin|naintin|tuenti|teti|foti|fifti|siksti|seventi|eiti|nainti|andled|taosen|[0-9])
As it is, this finds far more instances than it should, for example, verb prefixes starting with ‹ten›. It would be great if we could limit the search to words being:
- at the beginning of a word or preceded by a hyphen
- and at the end of word or followed by a hyphen
On the other hand, since we have grammatical tone on clause level, most of the vowels can end up with a diacritic (áàāa᷄â), but such occurrences are not found. It seems that whenever I use RegEx in Paratext's Find, Ignore Diacritics And Vowel Points, does not work, and therefore Paratext doesn't find ‘sevén’, for example.
Any idea how I could solve these issues?
Thanks again!
PS: I'm aware of the Numbers Settings and it is all set up for the NT, but there doesn't seem to be a way to include numbers written in words. (Or is there?)
機器翻譯自 English