Your Moodle version

Question types: Pattern match

qtype_pmatch
Maintained by Tim at Lone Pine Koala Sanctuary Tim Hunt, Picture of Jamie Pratt Jamie Pratt, Picture of Phil Butcher Phil Butcher
Allows a short response of one or a few sentences that is graded by comparing against various model answers, which are described using the OU's pattern match syntax.

Sets

This plugin is part of set Open University. Plugins from the set work the best when installed together.

There are working examples in eAssessment with Moodle on our OpenLearn site.

The documentation is in How to create questions in Moodle on that site.

Screenshots

Screenshot

Contributors

Picture of Colin Chambers
Colin Chambers: Developer
Picture of Jamie Pratt
Jamie Pratt: Developer
Picture of Phil Butcher
Phil Butcher: Question type designer
Tim at Lone Pine Koala Sanctuary
Tim Hunt (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of tim larcombe
    Fri, Feb 17, 2012, 1:02 AM
    I am using vesion 2.21+ and when i attempt to save a question the page goes blank page, any thoughts on why this could be?
  • Picture of llywelyn morgan
    Wed, Oct 3, 2012, 2:49 AM
    i'm receiving the message 'unrecognised expression' above any possible answers I type. What am I doing wrong?
  • Picture of Jamie Pratt
    Wed, Oct 3, 2012, 12:23 PM
    @tim please could you turn on debugging mode ie. turn on the display of errors and set the debugging level to developer as described here : http://docs.moodle.org/22/en/Debugging

    Then report the error you see here and we can look into what might cause it.
  • Picture of Jamie Pratt
    Wed, Oct 3, 2012, 12:25 PM
    @llywelyn do you see this error when trying to save a new question as a teacher or when attempting the question??

    If you see it when you are creating a new question as a teacher then I expect it is because the pmatch expression you have written has errors.
  • Picture of llywelyn morgan
    Wed, Oct 3, 2012, 3:23 PM
    Hi Jamie. It''s when I save a question. An example of an answer I used to test was 'They were Thomas Cromwell and Thomas Cranmer'
    I've tried looking for tutorials on the OU site but can't find any.
  • Picture of Jamie Pratt
    Wed, Oct 3, 2012, 3:29 PM
  • Picture of llywelyn morgan
    Thu, Oct 4, 2012, 5:04 AM
    thanks jamie. will take a look.
  • Picture of N. Hari
    Wed, Jan 23, 2013, 2:51 PM
    Seem to be getting an error during installation. We are using xampp for windows with php 5.3.5 and Pspell is missing in the latest php versions. Any suggestions?
  • Tim at Lone Pine Koala Sanctuary
    Wed, Jan 23, 2013, 3:36 PM
    What error message?
  • Picture of David Bezemer
    Wed, Feb 13, 2013, 5:53 AM
    This looks amazing, are there any language specific algorithms, or should it work in most languages?
  • Tim at Lone Pine Koala Sanctuary
    Wed, Feb 13, 2013, 5:54 PM
    It should work in most languages where writing is made up of words separated by sentences. It is actually a feature that it is a pretty 'dumb' text-matching algorithm, that does not try to do anything too sophisticated with grammar or linguistics. If you look at the published research (Google scholar search for Sally Jordan and Phil Butcher) then you will see that we found that approach more effective.

    Actually, we should add the links to the published papers here when we get a moment.
  • Picture of Phil Butcher
    Wed, Feb 13, 2013, 5:58 PM
    The reference is already in the documentation on labspace.
  • Tim at Lone Pine Koala Sanctuary
    Wed, Jan 8, 2014, 9:43 PM
    This Moodle 2.5 version worked fine in Moodle 2.6. However, as N. Hari spotted above, pspell is no longer available everywhere. PHP is moving in the direction of the 'enchant' spell-checking library, and I have just released a new version (for Moodle 2.5 and 2.6) where you can choose in the admin screens whether this qtype should use pspell or enchant.
Please login to post comments