Your Community is getting an upgrade!
Read about our partnership with Higher Logic and how we will build the next generation of the Instructure Community.
Solved! Go to Solution.
You'll be happy to know that more robust controls have been built into fill-in-the-the-blank question type in New Quizzes. Check out the Text Match section of How do I create a Fill in the Blank question in New Quizzes? to see how to use Levenshtein distance to accommodate the use case you've described.
For future reference, Idea Conversations is where our members discuss requests for enhancements to Canvas functionality. You can read more about the process in How do idea conversations work in the Canvas Community? and How do I create a new idea conversation in the Canvas Community? —keeping in mind that our teams are no longer developing new functionality on the code base for Old (Classic) Quizzes, which is scheduled to be deprecated early next year.
You'll be happy to know that more robust controls have been built into fill-in-the-the-blank question type in New Quizzes. Check out the Text Match section of How do I create a Fill in the Blank question in New Quizzes? to see how to use Levenshtein distance to accommodate the use case you've described.
For future reference, Idea Conversations is where our members discuss requests for enhancements to Canvas functionality. You can read more about the process in How do idea conversations work in the Canvas Community? and How do I create a new idea conversation in the Canvas Community? —keeping in mind that our teams are no longer developing new functionality on the code base for Old (Classic) Quizzes, which is scheduled to be deprecated early next year.
Stefanie - Thank you so much. I will try to negotiate the bewildering array of forum sections to post to the correct one.
Don
I am trying to understand the best practice for using these settings while writing a chemistry nomenclature question. I need a setting that would recognize the difference between vanadium(III) and vanadium(II), but accept Vanadium(II), Vanadium (II), vanadium(II), and vanadium (II). Basically accept slight spacing and capitalization differences, but not differences like (III) and (II). I tried "Close Enough" set to 1, but it seems to accept everything. Similarly, I need it to recognize the difference between sulfate and sulfite, but allow capitalization in either. I tried "Close Enough" set to 1, but it accept both sulfate and sulfite.
I tried the contains option, but that is case sensitive in the same way that the exact option is.
So far, the only reliable way seems to be entering every possible combination.
Any ideas?
Paul
I think your best solution is going to be using a regular expression (or "regex"). It is one of the expressions in the drop-down options. For your example, if you want to accept Vanadium(II) but not Vanadium(III), regardless of spaces or capitalization, the regex you want to use is:
[ ]*[vV]anadium[ ]?\([iI][iI]\)
The acceptable answers for this regex are any leading number of white spaces (including zero), ignores the case for the "v", allows for zero or one space between the "m" and the "(", and accepts exactly two "i"s between the parentheses regardless of their case.
For example, " vanadium (Ii)" works but "Vanadium(I)" doesn't.
Here is a link to a regex tutorial: https://www.regular-expressions.info/tutorial.html
Hope this helps.
I would recommend using the Regular Expression option for matching. in your example of "photosynthesis", you could use a regular expression like:
[ ]*photos[iy]nth[ei]s[ei]s
This regular expression (or regex) allows for one or more spaces in front of the word, and all of the following spellings:
photosynthesis
photosinthesis
photosynthisis
photosinthisis
photosynthises
photosinthises
photosyntheses
photosintheses
Here is a good regex tutorial site:
https://www.regular-expressions.info/quickstart.html
Hope this helps,
Dr. B
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign InTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign In
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.