[www.theword.net]

Twitter live feed  
View unanswered posts | View active topics It is currently Fri Sep 22, 2017 4:52 am



Reply to topic  [ 14 posts ] 
 Morphology-based formatting 
Author Message

Joined: Sat Aug 17, 2013 6:58 am
Posts: 6
Post Morphology-based formatting
Hi Costas (or anyone else who can give me a hand),

Firstly thanks for all your hard work on theWord - I love it! Secondly, is there any way (or if there isn't, how do you recommend I go about creating a way) for by Bible view to have formatting based on morphology?

What I'm looking for the ability (in the Greek and Hebrew modules I have installed) to automatically have, say, verbs in bold, or infinitives coloured orange, or things like that. I assume it's doable as the modules have the morphology included, but I can't find the functionality. Am I missing it, or do I need to manually create it myself?

Cheers in anticipation!
Simon


Sat Aug 17, 2013 7:04 am
Profile
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8551
Location: Corfu, Greece
Post Re: Morphology-based formatting
Hello Simon and welcome.
Unfortunately what you ask about formatting based on morphology is not possible.
This can only be done if you manually edit a Bible module (e.g. an .ont file) and do that manually.
Actually you could do that by adding verse.rules at the end without changing the actual Bible text (haven't thought through that but i think it is doable). You will need to read the Bible module specification first to see what the verse.rules are and you need to have some knowledge of regular expressions,
Anyway, this will be a static solution probably
Costas


Sat Aug 17, 2013 9:36 am
Profile WWW

Joined: Sat Aug 17, 2013 6:58 am
Posts: 6
Post Re: Morphology-based formatting
Ok great, thanks Costas! One more question, though - I'm having trouble getting the module I'm interested in (a .otx module) to open in a readable format for editing. What might I be doing wrong - I was under the impression it was a simple text file? Perhaps I'm using the wrong encoding to try and open it, but none of the options seem to render it legible...

Apologies for the vague question, and thanks again in anticipation.
Simon


Thu Aug 22, 2013 3:01 pm
Profile
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 3479
Post Re: Morphology-based formatting
From the manual:

Quote:
If a Bible module file is encrypted, then its extension will have an extra x at the end (e.g. .ontx, .otx, .ntx). A module may be encrypted either due to copyright reasons or because of the author's request, or both.

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Thu Aug 22, 2013 3:47 pm
Profile

Joined: Sat Aug 17, 2013 6:58 am
Posts: 6
Post Re: Morphology-based formatting
JG wrote:
From the manual:

Quote:
If a Bible module file is encrypted, then its extension will have an extra x at the end (e.g. .ontx, .otx, .ntx). A module may be encrypted either due to copyright reasons or because of the author's request, or both.


Ah, thanks! I suspected that was the case... is there ANY way to de-encrypt it? I realise it's probably encrypted for copyright reasons... I'm just attempting Costa's suggested static solution using verse.rules...


Fri Aug 23, 2013 1:17 am
Profile
User avatar

Joined: Wed Jun 04, 2008 7:34 pm
Posts: 3479
Post Re: Morphology-based formatting
I realise this is not what you are asking for but if you put all the primary codes for the WHM database module in one search they will markup in different colours.

Code:
m/@v* or m/@nc* or m/a* or m/P* or m/np* or  m/p* or m/uc*  or m/uo*  or m/v*  or m/ng*


Then if it was possible to add a search markup overlay (made up idea) and one could choose to use this overlay or not then you would have what you need, when you needed it.
@Costas, does this seem possible?

_________________
Jon
the
Word 5 Bible Software
OS for testing; Windows 10
Beta Download ------Beta Setup Guide------On-line Manual------Tech doc's and Utilities------Copyright Factsheet


Fri Aug 23, 2013 9:28 am
Profile

Joined: Sat Aug 17, 2013 6:58 am
Posts: 6
Post Re: Morphology-based formatting
Thanks Jon, that's very helpful - I didn't realise that the search would render results in different colours like that. Although as you say it's not quite what I was looking for, it's definitely a start.
Thanks again,
S


Sat Aug 24, 2013 2:57 am
Profile
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8551
Location: Corfu, Greece
Post Re: Morphology-based formatting
JG wrote:
I realise this is not what you are asking for but if you put all the primary codes for the WHM database module in one search they will markup in different colours.

Code:
m/@v* or m/@nc* or m/a* or m/P* or m/np* or  m/p* or m/uc*  or m/uo*  or m/v*  or m/ng*


Then if it was possible to add a search markup overlay (made up idea) and one could choose to use this overlay or not then you would have what you need, when you needed it.
@Costas, does this seem possible?

Well, it's an overkill: i am sure you notice that tw slows down, doesn't it?
To do it properly it would require some internal programming. What i suggested was to add some tags in the .ont file (maybe switchable) to mark the morphology constructs in a way that can be colored with the keys using <font color=...> tags.
I suspect that one would like to color 5-6 parts of speech, not more, so it would be possible to add 5-6 colors/tags in the .ont file to do that
Costas


Wed Aug 28, 2013 2:04 pm
Profile WWW

Joined: Sat Aug 17, 2013 6:58 am
Posts: 6
Post Re: Morphology-based formatting
Hi Costas,
It does indeed. The only problem with your solution (which would, as you say, be a static one, which is pretty much what I'm after), is that the modules I have that include morphology are encrypted. Are you aware of any modules that include morphology that aren't encrypted?
Cheers,
Simon


Thu Aug 29, 2013 3:59 am
Profile
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8551
Location: Corfu, Greece
Post Re: Morphology-based formatting
The only encrypted one is the WHM.
What are you looking for?
Costas


Sun Sep 01, 2013 8:12 pm
Profile WWW

Joined: Sat Aug 17, 2013 6:58 am
Posts: 6
Post Re: Morphology-based formatting
Looking for an unencrypted (Hebrew especially) module that has morphology tags attached. It seems that none of the unencrypted modules I can find have morphology attached. Or am I just missing it...?


Mon Sep 02, 2013 2:30 am
Profile
Site Admin

Joined: Tue Aug 29, 2006 2:09 pm
Posts: 8551
Location: Corfu, Greece
Post Re: Morphology-based formatting
There is none, sorry
Costas


Tue Sep 03, 2013 3:09 pm
Profile WWW

Joined: Sat Aug 17, 2013 6:47 pm
Posts: 67
Post Re: Morphology-based formatting
Scowell,

You can download the KJV + TVM (tense, voice, mood) version at the following link:
[url]http://www.wordmodules.com/the-word-modules/file/192-king-james-version-tense-voice-and-mood-bible-and-dictionary/
[/url]
I know you were looking for a Hebrew text but this version has the Hebrew morphology attached to the English. It's a great help.


Sat Sep 07, 2013 5:27 pm
Profile

Joined: Thu Jan 26, 2012 12:39 pm
Posts: 8
Post Re: Morphology-based formatting
Hi Scowell,

if you're trying to preserve morphology in the English, I also am trying to do this, because it makes for much more literal translations in my opinion. So I'm working on a translation that preserves all of the morphology info in the translation (not that I know Greek, but using lexicons and other helps as aids). However, some words won't make sense even if you precisely translate their morphological information, like infinitives.

e.g. John 1.48 - "Before the Philip to call you, I saw you under the fig tree. "

Just a heads up in case you decide to do the same as I am doing. Good luck.


Thu Dec 11, 2014 5:28 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.