0 votes
197 views
I would like two morphemes* which are separated by a ~ to be treated as a single word. Is that possible?

This comes up particularly in the wordlist. If I find those two morphemes with no space between them, and mark them as incorrect, I cannot set the correct spelling as having the ~ in the middle (because the wordlist currently sees that as changing from one word to two).

[The 'find incorrectly joined or split words' tool helps to some extent when dealing with this, but doesn't fully solve the problem.]

* Okay, technically these are a bit more than morphemes, but I don't know the correct terminology. Maybe "morpheme clusters" or "word parts".
Paratext by (1.9k points) | 197 views

1 Answer

0 votes
The tilde is reserved as a character to indicate a no-break space. Paratext sees this as two words that you want to keep together, but not as a single word.

One option would be to use (at least temporarily) a character like U223c (or some other unique character). You would need to add this to the word-medial characters.

This will cause the words to show up in the wordlist.

Once you are statsified that the spelling is handled correctly you could change the 223c back to the tilde.
by (9.8k points)
Thank you for your reply. I had hoped that there was some way to set the style of ~ to be word-medial, but I guess that's not possible.

Just to give some background, these are classes of words where at least some native speakers interpret them as separate words--hence the fact that there's a space between them. But from a linguistic standpoint I'd argue that they are single words, and there are reasons in PT to treat them as such.

Anyway, a couple of follow-up questions regarding the idea of using U223c.

1) I remember at some point in the past, doing a find/replace with ~, that things didn't work as I expected and regular spaces got added in where I wasn't expecting. As far as you know, if I do a global change U007e --> U223c and then later change them all back, should it round-trip without any changes?

2) Can you think of any downsides if I just changed all 007e characters into 223c (and set up a changes.txt rule to keep doing that in the future), and then only changed them back at the time of publication (using another changes rule)?
I just did a test in version 9.4 where I added a ~ (regular) after certain words. I then did a global replace of ~ for the U223c and verified that the words now show up in my wordlist (I had added the U223c as word-medial)

Then I did a global replace of U223c back to a ~ and did not encounter any problem.

I generally recommend that before doing anything radical like this you might want to create a copy of the project and test this yourself!

Related questions

0 votes
3 answers 69 views
I do not understand why the the instructions for 9.5 beta say "all team members must update to 9.5.": for a project ... are if one opts in if a team member has not upgraded?
Kent Spielmann 1.8k asked Nov 18, 2024
0 votes
1 answer 507 views
In my understanding, it is not advised to enter project notes into the actual scripture text with SFM like \rem. ... within a few weeks and will then be considered fully resolved.
Tim 934 asked Apr 8, 2022
0 votes
1 answer 313 views
When I hit the backspace key, it does not backspace where the cursor is, but jumps back to the place where the cursor was ... use the delete key. What is wrong? How to correct it?
anon746885 105 asked Nov 20, 2019
0 votes
2 answers 216 views
Before the new way to copy a project with its history, I think the best practice for creating a copy of a project ( ... can't choose the correct glosses of the words in the IL.
wdavidhj 1.4k asked Jun 27, 2018
0 votes
1 answer 251 views
A translator added images to their project and then tried to do an Internet S/R. It was 100+ MB, so he cancelled ... | Papua New Guinea [Email Removed].pgmailto:[Email Removed].pg
SIL LSS PNG 411 asked Feb 13, 2017
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
They all joined together constantly in prayer, along with the women and Mary the mother of Jesus, and with his brothers.
Acts 1:14
3,037 questions
5,994 answers
5,661 comments
2,022 users