[sword-devel] Comparing Verses

Chris Umphress umphress at gmail.com
Tue Jan 17 20:48:54 MST 2006


On 1/17/06, Chris Umphress <umphress at gmail.com> wrote:
> On 1/17/06, DM Smith <dmsmith555 at yahoo.com> wrote:
> > "Is there any open source software that can be used to create a visually pleasant markup of the comparison of two verses?"

> http://wdiff.progiciels-bpi.ca/showfile.html?mode=archives
>
> I haven't been able to compile it yet, but the source should have the algorithm.

I'd like to take that back. I just had to comment out a couple
functions (the functions that it complains about during make --
'getline' and another one) and it works. Seems like its' algorithm
should work for a verse comparison:

$ diatheke -b KJV -k John3:16 >1; diatheke -b YLT -k John3:16 >2;./src/wdiff 1 2
John 3:16: [-For-] {+for+} God {+did+} so [-loved-] {+love+} the
world, that [-he gave his-] {+His Son--the+} only [-begotten Son,-]
{+begotten--He gave,+} that [-whosoever believeth-] {+every one who is
believing+} in him [-should-] {+may+} not perish, but {+may+} have
[-everlasting life.
(KJV)-] {+life age-during.
(YLT)+}

--
Chris Umphress <http://daga.dyndns.org/>



More information about the sword-devel mailing list