module Chqcla:Checker for classifications (.cla)sig..end
This source is released to the public domain since 2001. No warranty.
Citation of the project Structio and following URL is appreciated.
http://structio.sourceforge.net/repasa
val classifs : int Pervasives.refval examples : int Pervasives.refval exercises : int Pervasives.refval words : int Pervasives.refval refind : int Pervasives.refval check_example : (string * string, string) Hashtbl.t ->
(string, string) Hashtbl.t ->
string ->
< attribute : string -> Markup_types.att_value; pos_file : string;
sub_nodes : < attribute : string -> Markup_types.att_value; data :
string; node_type : Markup_document.node_type;
pos_file : string;
sub_nodes : < data : string;
node_type : Markup_document.node_type; .. >
list;
.. >
list;
.. > ->
unithe : Hashing table with identifications to detect repeated ids.elem : Elment <ejemplo>.val check_question : int Pervasives.ref ->
< pos_file : string;
sub_nodes : < data : string; node_type : Markup_document.node_type; .. >
list;
.. > ->
unitval check_answer : int Pervasives.ref ->
< pos_file : string;
sub_nodes : < data : string; node_type : Markup_document.node_type; .. >
list;
.. > ->
unitval check_exercise : (string * string, string) Hashtbl.t ->
(string, string) Hashtbl.t ->
string ->
< attribute : string -> Markup_types.att_value; pos_file : string;
sub_nodes : < attribute : string -> Markup_types.att_value;
node_type : Markup_document.node_type; pos_file : string;
sub_nodes : < data : string;
node_type : Markup_document.node_type; .. >
list;
.. >
list;
.. > ->
unithex : Hashing table with type and id.hexid : Hashing table with ididcla : Identification of classificationelem : Element ejercicioval check_son_refmeaning : (string * string, string) Hashtbl.t ->
(string, string) Hashtbl.t ->
(string * string, string) Hashtbl.t ->
string ->
< attribute : string -> Markup_types.att_value;
node_type : Markup_document.node_type; pos_file : string;
sub_nodes : < attribute : string -> Markup_types.att_value; data :
string; node_type : Markup_document.node_type;
pos_file : string;
sub_nodes : < data : string;
node_type : Markup_document.node_type; .. >
list;
.. >
list;
.. > ->
unithe : Hashing table with identifications of examples already used.hat : Hasing table with identifications of words already referenced.val check_refind : int Pervasives.ref ->
(string, string) Hashtbl.t ->
< attribute : string -> Markup_types.att_value; pos_file : string; .. > ->
unitval check_classif : Lrepasa.knownFormats * int option ->
string ->
('a Markup_document.extension Markup_document.node as 'a) list ->
string list ->
string ->
(string * string, string) Hashtbl.t ->
(string, string) Hashtbl.t ->
string ->
(string, string) Hashtbl.t ->
(< attribute : string -> Markup_types.att_value; data : string;
node_type : Markup_document.node_type; pos_file : string;
sub_nodes : 'b list; .. >
as 'b) ->
unitformat : of the descriptions, pair of type (KnownFormats) and optional
length.dname : Default name of definitions.defs : Default tree of definitions.hiertypes : Order of types.parent_type : Type of the parent classification.hc : Hashing table with existing type,identifications of classif.hi : Hashing table with existing references to individuals.idpar : identification of parent classificationhidcla : Hashing table with existing identifications of classifications.elem : Element <clasif>.val check_classification : string ->
Lrepasa.knownFormats * int option ->
string ->
('a Markup_document.extension Markup_document.node as 'a) list ->
string list ->
(< attribute : string -> Markup_types.att_value; data : string;
node_type : Markup_document.node_type; pos_file : string;
sub_nodes : 'b list; .. >
as 'b)
list -> unitval check_cla : string ->
string ->
< root : < attribute : string -> Markup_types.att_value; pos_file : string;
sub_nodes : (< attribute : string -> Markup_types.att_value;
data : string;
node_type : Markup_document.node_type;
pos_file : string; sub_nodes : 'a list; .. >
as 'a)
list;
.. >;
.. > ->
unit