Menu

#13 Improvement

0.8b
open
Improvement (1)
2017-09-14
2017-09-14
Anonymous
No

If the scripture test was able to be "scrambled" such as "seek the kingdom of heaven first" appearing as "correct" instead of "seek first the kingdom of heaven"

  • that would be helpful.

Discussion

  • Daniel Sheffield

    • assigned_to: Daniel Sheffield
    • Milestone: 0.2a --> 0.8b
     
  • Daniel Sheffield

    So we need an option for soft/strict match.
    eg, for Matthew 6:33 (WEB), acceptable answers might be:
    a) But seek first God’s Kingdom, and his righteousness; and all these things will be given to you as well.
    b) seek God’s Kingdom and righteousness and all these will be given to you
    c) seek righteousness and God's Kingdom first and all you will be given all these things

    Where a) is the original text, b) has words ommited, and c) has word order swapped
    Tackling option b) would be a good place to start. All words with fewer than 4 chars can be removed before checking the diff. Case can be ignored. Punctuation can be ignored.
    For option c), this is a hard problem as word order can serverely alter meaning and there is no way for SwordwordS to interpret the scriptures. On the other hand, there may be ways to tackle it.

    • perhaps compare the answer with all "basic english" bibles with constraints in b), and pick best match (this would mean bible-scripture pairs would not be relevant in this mode)
    • using some library used in word processing software that has the smarts to determine if the difference in word order is acceptable
    • perhaps include an index of keywords of each scripture. The indecies could be used to determine if all keywords for a scripture were included in the answer
     

    Last edit: Daniel Sheffield 2017-09-14

Log in to post a comment.