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"
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
Last edit: Daniel Sheffield 2017-09-14