OpenGNT

Discussion on theWord modules and other resources
User avatar
JG
Posts: 4604
Joined: Wed Jun 04, 2008 8:34 pm

Re: OpenGNT

Post by JG »

That is better.
There are still some potential places missed, so you need to load each new file in theWord and run that checking regex again. Then when you have fixed all those issues run this regex and repeat the process to find all other potential issues many of which are double spaces caused by a space before and after some tags.

Code: Select all

([a-z0-9][A-Z])|([a-z0-9][.,/?;:'!’”“’‘"]+?[A-Z])|([.,/?;:!”]+?[a-zA-Z])|\s{2,4}| [,.;:?!]|\s+[?!;:.,][ ]|[.] [a-z]
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
Marvel.Bible
Posts: 2
Joined: Sat Dec 15, 2018 5:40 pm

Re: OpenGNT

Post by Marvel.Bible »

@JG & Jonathan,

I am glad to see your good work here.

Blessings,
Eliran Wong
User avatar
JG
Posts: 4604
Joined: Wed Jun 04, 2008 8:34 pm

Re: OpenGNT

Post by JG »

Thanks Eliran, and welcome to theWord forum.

Jon
Jon
the
Word 6 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet
User avatar
jonathangkoehn
Posts: 1261
Joined: Wed Sep 29, 2010 11:04 pm
Location: Colorado, United States
Contact:

Re: OpenGNT

Post by jonathangkoehn »

Thank you Mr. Wong. Appreciate the materials you have provided.
Jonathan Koehn @ https://www.thewordbooks.com
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
User avatar
jonathangkoehn
Posts: 1261
Joined: Wed Sep 29, 2010 11:04 pm
Location: Colorado, United States
Contact:

Re: OpenGNT

Post by jonathangkoehn »

Ah I see I missed some numerical problems on a few headers thanks!
I looked for double spaces thanks for the regex, also spaces before punctuation, etc.
I'm working on building a regex file. Do you have another one I could run that would look for other problems?

Updated to OpenGNTnet0_7
https://drive.google.com/open?id=1KM3pd ... qZOl1Uxmfp

Also would it be helpful to toggle off the english so as to just see the phrasing?

OpenGNTa is that way but I'm not sure it has the indentation.
Jonathan Koehn @ https://www.thewordbooks.com
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
User avatar
jonathangkoehn
Posts: 1261
Joined: Wed Sep 29, 2010 11:04 pm
Location: Colorado, United States
Contact:

Re: OpenGNT

Post by jonathangkoehn »

Updated to OpenGNTnet0_8
https://drive.google.com/open?id=1KM3pd ... qZOl1Uxmfp


I'm having trouble fixing a problem with indentation.
"i" to toggle english. "z" to toggle indent.

Here are the verse rules. Once you open the file in theWORD you can see what I'm talking about indent wise.
On the last line of each verse the indent goes back to 0. If I add in <CI> at the end of a verse instead of the start I get an extra space. Any ideas on what I've got wrong?

Code: Select all

verse.rule="(<W(GD[^>]+)>)([^<]+)<g>" "<a href=""_STRONG_$2|_NOLINK_"">$3</a>$1"
verse.rule="(<W((G|Gc)\d+)>)([^<]+)<g>" "<a href=""_STRONG_$2|_NOLINK_"">$4</a>$1"
verse.rule="<gramc>" "<NB toggle=^z><font color=#ffa500>{</font><Nb>"
verse.rule="</gramc>" "<NB toggle=^z><font color=#ffa500>}</font><Nb>"
verse.rule="<gram>" "<NB toggle=z><CI><PI2><font color=#ffa500><b>|</b> </font><Nb>"
verse.rule="<sv>" "<NB toggle=i><CI><Pi><Nb>"
verse.rule="<eng>(.*?)</eng><grk>" "<ST toggle=i>$1<St>"
Jonathan Koehn @ https://www.thewordbooks.com
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
User avatar
jonathangkoehn
Posts: 1261
Joined: Wed Sep 29, 2010 11:04 pm
Location: Colorado, United States
Contact:

Re: OpenGNT

Post by jonathangkoehn »

I think I've fixed that problem in this release.
OpenGNTnet0_9
Jonathan Koehn @ https://www.thewordbooks.com
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
User avatar
jonathangkoehn
Posts: 1261
Joined: Wed Sep 29, 2010 11:04 pm
Location: Colorado, United States
Contact:

Re: OpenGNT

Post by jonathangkoehn »

Update OpenGNTnet_12
Thanks JG for helping me sort this out.
https://drive.google.com/open?id=1KM3pd ... qZOl1Uxmfp
Jonathan Koehn @ https://www.thewordbooks.com
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
NorrinRadd
Posts: 191
Joined: Fri Aug 13, 2010 10:12 am

Re: OpenGNT

Post by NorrinRadd »

Ok, I got curious about this module and downloaded it, but I guess I don't understand it. The "Strong's" numbers don't seem to actually link to anything.
DarrelW
Posts: 1261
Joined: Fri Sep 11, 2009 1:04 am
Location: Klamath Falls, Oregon
Contact:

Re: OpenGNT

Post by DarrelW »

The Strong's numbers link to the OpenGNTd dictionary. As long as you have that dictionary installed and have set the Bible to use that dictionary the Strong's numbers display very nicely.

Darrel
User avatar
jonathangkoehn
Posts: 1261
Joined: Wed Sep 29, 2010 11:04 pm
Location: Colorado, United States
Contact:

Re: OpenGNT

Post by jonathangkoehn »

Thanks Darrel, Yes the OpenGNTd dictionary is required. The Bible file should already be linked to it. Perhaps I need to zip them together.
Jonathan Koehn @ https://www.thewordbooks.com
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
NorrinRadd
Posts: 191
Joined: Fri Aug 13, 2010 10:12 am

Re: OpenGNT

Post by NorrinRadd »

jonathangkoehn wrote:Thanks Darrel, Yes the OpenGNTd dictionary is required. The Bible file should already be linked to it. Perhaps I need to zip them together.
Or maybe post here a brief explanation of the various files there. I now notice the OpenGNTd file, and also a separate "lexicon" file.
User avatar
jonathangkoehn
Posts: 1261
Joined: Wed Sep 29, 2010 11:04 pm
Location: Colorado, United States
Contact:

Re: OpenGNT

Post by jonathangkoehn »

OpenGNTa - Open Greek New Testament Project (OGNTa) in accented Greek.
--Clause division is represented by a highlight when a word within the clause is tapped (the tapped word itself has a different highlight).
--Detailed information is shown in a dictionary entry when a word is tapped.

OpenGNTnet - Open Greek New Testament + The NET Bible® verse text (no Notes) - 2nd Edition; New Testament + Discourse Features (OGNTnet). This updated module replaces the old OGNT-NET with OpenText Linguistic Annotations in brackets but the function can also be achieved already by OGNTla above and the shortcut form in the updated OGNTnet module similar to OGNTa above.
--Clause division is represented by a line break, with each clause starts with a symbol °.
--Clause division is represented also by a highlight when a Greek word within the clause is tapped (the tapped word itself has a different highlight).
--Detailed information is shown in a dictionary entry when a Greek word is tapped.

OpenGNTLexicon
--An Analytical Lexicon on Open Greek New Testament + Tyndale Brief lexicon of Extended Strongs for Greek (OGNT).

OpenGNTd - Open Greek New Testament dictionary (OGNTd) containing detailed information for each Greek word:
--Levinsohn Greek New Testament Discourse Features (LGNTDF) Clause information with Berean Interlinear, Literal and Study Bible clauses.
--Word information:
--Accented, Unaccented, Transliteration, Modern pronunciation
--Gloss, Interlinear, Literal, Study, Español
--RMAC
--TBESG, Mounce, BDAG, EDNT, Strong, GK, LN (only entry references for copyrighted materials)
--Tyndale Amalgamated NT Tagged texts with Editions, Strong, gloss, RMAC
--OpenText Linguistic Annotation - Word Level information.
Jonathan Koehn @ https://www.thewordbooks.com
TotheWord make resources for theWord
2 Timothy 2:15 “Make every effort to present yourself before God as a proven worker who does not need to be ashamed, teaching the message of truth accurately.” NET2
NorrinRadd
Posts: 191
Joined: Fri Aug 13, 2010 10:12 am

Re: OpenGNT

Post by NorrinRadd »

Cool! Thanks!
NorrinRadd
Posts: 191
Joined: Fri Aug 13, 2010 10:12 am

Re: OpenGNT

Post by NorrinRadd »

Jonathan, I don't know if you noticed or care, but in the "Define module sets" page of The Word, the "Title" of OpenGNTd apparently shows the whole path on your C: drive.
Post Reply