Make Logos smarter in detecting verses

Don Awalt
Don Awalt Member Posts: 3,534 ✭✭✭
edited December 2024 in English Forum

If I paste a section of Treasury of Scripture Knowledge, or similar resources into a Note, like this one:

John 20:31. But these. Emphatic in Greek. ver. 28. Jn 1:49. 6:69, 70. 9:35-38. 19:35. *21:25. Ps *2:7, 12. Mt *+16:16. +*27:54n. Lk 1:3, 4. Ac *8:37. 9:20. Ro 1:3, 4. 1 J 4:15. 5:1, 10, 20. 2 J *9. Re 2:18. are written, that. or, have been (and therefore stand) written. T#1041. Dt 29:29. Ps 102:18. Pr 22:21. Ec 12:12. Lk 1:1. Ac 11:14. Ro **10:17. +*15:4. 2 T +**3:15-17. 1 J 1:1-4. **5:13. ye might. or, may. Jn 5:34. 11:15, 42. 19:35. Ro 10:14. believe. ver. 29. Jn +11:27. Ex 4:5. Is 43:10. that Jesus is. Mt +1:1. 16:20. Mk +8:29. the Christ. Mt 16:20. 26:63. Mk 1:1. Lk 2:11, 26. 4:18-21, 41. 9:20. the Son of God. Jn 1:34. 10:36. Mt +14:33. Mk 5:7. **9:7. Lk 1:35. 4:41. believing. Jn 2:11. **3:15, 16, 18, +36. *5:24, 39, 40. 6:40. 10:10. Mk *16:16. Ac 8:37. **16:31. 20:21. 2 C 1:19. Ga *2:16. 3:22. 1 T 1:16. He **10:39. 1 P 1:9. 1 J 2:23-25. **5:10-13. have life. Jn 6:53. +8:12. 12:50. Col +*3:4. 2 T 1:10. 1 J **5:13. through. Lk *24:47. Ac 3:16. *10:43. *13:38, 39. Ro 5:1. 6:11. 1 C *6:11. his name. FS121T1, Dt +28:58. i.e. the Truth revealed by him under the names just mentioned, as Jesus, the Christ or Messiah, and the Son of God (De Burgh, p. 297). Jn +1:12. +14:13. 17:11, 12. Dt +28:58. Ac +3:6. 4:10, 12. 10:43. +15:26. 1 C +1:10. 6:11. 1 J **5:13.

Many of the scripture verses are not links to Bible verses because of the notations that surround them. It would be great if Logos would recognize all of these!

Comments

  • David Ames
    David Ames Member Posts: 2,977 ✭✭✭

    Don Awalt said:

    Many of the scripture verses are not links to Bible verses because of the notations that surround them. It would be great if Logos would recognize all of these!

    [[Don: trying to pick on the subject and not you]]

    Do ALL resources that have 'weird 'Scripture notation ALL use the same 'weird' notation? Writing a Scripture detector that would work for "Treasury of Scripture Knowledge" could be done. [any competent programmer could have a first pass working in an hour or so - getting a polished product would take longer]  But how many other resources use '*' '+*' '+**' '**' '+' '+ ' in the EXACT same way?  [And does '+' (plus) and '+ ' (plus space) mean the same thing?] [[And my favorite is when do we get rid of 3:1,2 and replace it with 3:1-2]]  

  • Don Awalt
    Don Awalt Member Posts: 3,534 ✭✭✭

    Actually, I think with the use of regular expressions, which the developers probably already use in the code, it would be pretty easy to filter any non-letter/non-numbers/spaces out of a character string, to then examine it to see if it matches a scripture reference notation. Regular expressions take all this complexity out that you show.

    Also, as I said, this is not just one resource, there are others in this genre of resources, albeit a small group. But cross references are a big part of Bible study, homiletics, etc.

  • Sleiman
    Sleiman Member Posts: 672 ✭✭

    [Y]A reasonable suggestion. It also would be useful in compiling PBs with lot of bible references that do not follow the standard form.

    Don, may I ask you what resource is this? (It is not identical to my copy the Treasury of Scripture Knowledge on Jo 20:31).

    Are you adding the symbols yourself in the note file or are they there in the original source, because if they are, shouldn't they be already linked?

  • DMB
    DMB Member Posts: 14,209 ✭✭✭✭

    I thought John 5.1,2 <> John 5.1-2  Or maybe usage is not that tight.

    "If myth is ideology in narrative form, then scholarship is myth with footnotes." B. Lincolm 1999.

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 12,071

    I can't reproduce this problem; all the references below are hyperlinked. Are you pasting from a Logos resource or from some other source?

  • Don Awalt
    Don Awalt Member Posts: 3,534 ✭✭✭

    Are you pasting from a Logos resource or from some other source?

    From Word - Copy from NTSK into Word, paste as text. Then copy from there, paste into Note.

  • David Ames
    David Ames Member Posts: 2,977 ✭✭✭

    Don Awalt said:

    Are you pasting from a Logos resource or from some other source?

    From Word - Copy from NTSK into Word, paste as text. Then copy from there, paste into Note.

    What happens if you copy form NTSK and paste into Note without using Word? Word is known for putting hidden JUNK into what looks like TEXT.

    edit: Or maybe save the WORD file into an RTF format - close and reopen then copy from word and paste into Note. [[might clean out any hidden JUNK]]

  • Bradley Grainger (Logos)
    Bradley Grainger (Logos) Administrator, Logos Employee Posts: 12,071

    Don Awalt said:

    From Word - Copy from NTSK into Word, paste as text. Then copy from there, paste into Note.

    Pasting into Word as text strips out the hyperlinks (that may have been manually corrected, due to ambiguity, when the resource was created). Logos does as good a job as it can to restore the hyperlinks when pasting back from Word, but it can't tag every one 100% correctly.

    I recommend skipping the middleman and simply pasting from NTSK directly into a note; this will preserve all the hyperlinks.