Hi!
I've developed a data classifier system, that allows text, numeric and
date fields to be classified by
plugins. I couldn't generate a patch with cvs diff -u (it didn't
included new files, can anyone help me with this?), so here is a url:
http://cidec.futuro.usp.br/phpesp-classifier-0.1.tar.gz
The changes were made on current cvs version.
I've provided some documentation, but briefly, each classifier plugin is
a class, each question may have an active classifier that is an object
serialized in the db. The object provides an interface to be configured
by the survey designer. When survey_result finds a question with a
classifier, all response contents will be passed to it before rendering
the survey result.
The database scripts were modified to create the table "classifier".
There's also a plugin to classify numeric numbers into intervals. Other
ideas I have for plugins:
- One that allows user to navigate through text answers and classify
them individually.
- One that takes a zip code and cross it with other data about that region
I've also translated what was missing in pt_BR (although the new strings
of the classifiers are not in messages.po).
I hope you enjoy :-).
[]s
Luis
|