+2 votes
236 views

Hi,
We have a hunspell-based spell-checking dictionary. Other than
trying to programatically generate a humongous word-list to cover every possible combination of root+affix (+affix) that it allows, is there any way of getting Paratext to use it?

anon542642

Paratext by (294 points)
reshown | 236 views

1 Answer

0 votes
Best answer

I don’t remember how I did it… I could try to look up notes if needed… but I expanded a hunspell dictionary into a PT wordlist using some pre-existing program for creating all possible combinations. The resulting file was large, but works perfectly fine. Is there a reason you want to use the dictionary directly instead of going that route?

by (1.9k points)

mnjames
February 14

I don’t remember how I did it… I could try to look up notes if needed… but I
expanded a hunspell dictionary into a PT wordlist using some pre-existing
program for creating all possible combinations. The resulting file was large,
but works perfectly fine.

Practically speaking, the resultant list will be getting very large - every
verb potentially turns into multiple participles, and every participle can act
as a nominal and each then end up in sg/plural versions in nominative,
oblique(accusative), locative, dative, ablative, genitive (aggreeing with
gender and number of the posessed item) cases and that doesn’t add up to the
right number so I’ve forgotten some.

Is there a reason you want to use the dictionary
directly instead of going that route?

Ideally, yes:
The dictionary is still being worked on, and sometimes errors are
spotted, or decisions about spelling get revisited, especially for
loan words where there are several options about which noun class
they might go in: that’s a language-community-preference thing
that might develop over time.

Ideally I’d hope there could be a way for paratext’s current version
of manually checked words (e.g. for names of one-off towns, ancient kings,
etc) to sit beside the hunspell dict.

I’ve never looked at the ParaText code, but I’d assume there would be benefits
in using the Enchant library (https://abiword.github.io/enchant/),
as that’s backend-agnostic.

anon542642

There is the laboursome possibility to do spellchecking in Indesign, (which supports hunspell). It means exporting via PubAssist into Indesign, and then do a round-trip back to sfm files.

Related questions

0 votes
1 answer 91 views
Hi Paratext Community, I am currently working on a Study Bible based on the ESV Global Study Bible, which we ... recommendations, or examples of an efficient workflow. Thank you!
Thiyagarajan 112 asked 5 d ago
0 votes
1 answer 27 views
Someone, whom I don't currently have access, helped me extract OT names data from the Biblical Terms XML into an excel sheet. ... x's. Do you have any thoughts on how to do this?
Clear7419 251 asked May 13, 2025
0 votes
2 answers 156 views
We have been approached by a community who have been translating the Bible by themselves and now want help finishing it off. ... has done this before - what tips can you give us?
anon399461 123 asked Nov 8, 2024
0 votes
2 answers 311 views
Is it possible to import a interlinear text from FLEx into PT9? Thanks
listentwice 1.2k asked Apr 8, 2022
+1 vote
2 answers 582 views
I was asked if there was a way to export/convert an older cross-reference file into a format that can be used by Paratext 8-9. ... - \xo 2:2-3 \xt EXO 20:11\x* Thanks! james_post
[Moderator]
james_post
2.1k
asked Jan 31, 2022
Welcome to Support Bible, where you can ask questions and receive answers from other members of the community.
Every day they continued to meet together in the temple courts. They broke bread in their homes and ate together with glad and sincere hearts, praising God and enjoying the favor of all the people. And the Lord added to their number daily those who were being saved.
Acts 2:46-47
3,044 questions
6,003 answers
5,671 comments
2,026 users