Chris Little wrote:
DM Smith wrote:
Someone has ported the GNU diff algorithm to Java (see
http://www.bmsi.com/java/Diff.java)
It is written as the diff of two arrays.
I compared the code against analyze.c in GNU's diffutils and it looks
like a straightforward port.
I think it would be triv
The code from BibleMemorizer I mentioned earlier is released under an
MIT
license. Like I said, the algorithm is quite a bit simpler than the
algorithm used by actual diff, but it might be good enough. A simpler
algorithm might also make for simpler coding to make changes.
I'm
DM Smith wrote:
Someone has ported the GNU diff algorithm to Java (see
http://www.bmsi.com/java/Diff.java)
It is written as the diff of two arrays.
I compared the code against analyze.c in GNU's diffutils and it looks
like a straightforward port.
I think it would be trivial to port it to C++
Chris Little wrote:
DM Smith wrote:
I think it would be good to have it be an api feature of Sword.
What's the possibility of getting it into the Sword API? (I know we
are all busy and I am not a C++ coder anymore. It's been too long.)
There's a little complexity in that wdiff is a frontend to
DM Smith wrote:
I'm not familiar with Sword's filters. Can someone give a quick
overview? When the Sword API reads text, does it filter it from its
internal format (e.g. ThML, GBF) into a consistent one (e.g. OSIS)? or
is it more than one? If so which? And then render that into the delivery
Chris Little wrote:
DM Smith wrote:
This should be easy to change, substituting, for example,
for [-
for -]
for {+
for +}
to produce a fragment of html.
Or... OSIS has the tag, with types:
{'added'|'amplified'|'changed'|'deleted'|'moved'|'tenseChange'}
It would be fairly sim
On 1/17/06, DM Smith <[EMAIL PROTECTED]> wrote:
> This should be easy to change, substituting, for example,
> for [-
> for -]
> for {+
> for +}
> to produce a fragment of html.
Nothing too fancy, but here's a sample page:
http://daga.dyndns.org/god/bible/wdiff.php
You're al
I actually developed a quiz feature for use in my own BibleMemorizer,
using
an algorithm that does just this. It's a fairly simple algorithm I developed
myself (wdiff is probably better), but it worked reasonably well with the
test cases I gave it. See the "correctText" function in th
DM Smith wrote:
This should be easy to change, substituting, for example,
for [-
for -]
for {+
for +}
to produce a fragment of html.
Or... OSIS has the tag, with types:
{'added'|'amplified'|'changed'|'deleted'|'moved'|'tenseChange'}
It would be fairly simple to plug a fil
On 1/17/06, DM Smith <[EMAIL PROTECTED]> wrote:
> > $ 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
Chris Umphress wrote:
On 1/17/06, Chris Umphress <[EMAIL PROTECTED]> wrote:
On 1/17/06, DM Smith <[EMAIL PROTECTED]> 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.c
Chris Umphress wrote:
On 1/17/06, DM Smith <[EMAIL PROTECTED]> wrote:
When Chris Umphress included the link
http://kohl.wikimedia.org/~avar/gpl3/wdiff.html
regarding the differences between GPL v2 and v3 (proposed) it got me thinking:
"Is there any open source software that can be used to
On 1/17/06, Chris Umphress <[EMAIL PROTECTED]> wrote:
> On 1/17/06, DM Smith <[EMAIL PROTECTED]> 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
>
On 1/17/06, DM Smith <[EMAIL PROTECTED]> wrote:
> When Chris Umphress included the link
>
> http://kohl.wikimedia.org/~avar/gpl3/wdiff.html
>
> regarding the differences between GPL v2 and v3 (proposed) it got me thinking:
>
> "Is there any open source software that can be used to create a visually
When Chris Umphress included the link
http://kohl.wikimedia.org/~avar/gpl3/wdiff.html
regarding the differences between GPL v2 and v3 (proposed) it got me thinking:
"Is there any open source software that can be used to create a visually pleasant
markup of the comparison of two verses?"
Does
15 matches
Mail list logo