korpling / pepperModules-SaltInfoModules

The projects helps you to get an overview of your corpus. It illustrates, which annotations (names and values as well) are used and how often they occur in a single document or in the entire corpus.
Other
2 stars 0 forks source link

customization file not valid #48

Closed traumfresser closed 8 years ago

traumfresser commented 8 years ago

Input and output files sent to Vivian Voigt via E-Mail.

{
        "corpusName" : "GartDerGesundheit_1487",
        "shortDescription" : "short description of myCorpus",
        "description" : "Here you can enter a description of your corpus.",
        "annotators" : [ 
            {"name" : "John Doe", "eMail" : "john-doe@sample.com"}, 
        {"name" : "Jane Doe", "eMail" : "jane-doe@sample.com"}
        ],
        "license": "No license is given for this corpus.",

        "tooltips_metadata" : [
            {"name": "author", "tooltip": ""},
            {"name": "bibl", "tooltip": ""},
                {"name": "date", "tooltip": ""}
        ],

            "tooltips_annonames" : [
            {"name": "default_ns:lang", "tooltip": ""},
        1{"name": "default_ns:form_kraeutername", "tooltip": ""},
        2{"name": "default_ns:author_ref", "tooltip": ""}
        3],

         "structInfoDesc" : "Structural data are those, which were necessary to create the Salt model. Since Salt is a graph-based model, all model elements are either nodes or relations between them. Salt contains a set of subtypes of nodes and relations. Subtypes of nodes are: SToken, STextualDS (primary data), SSpan, SStructure and some more. Subtypes of relations are: SSpanningRelation, SDominanceRelation, SPointingRelation and some more. This section gives an overview of the frequency (Count) for each of those elements (Name) used in this corpus or document.",
        "metaDataDesc" : "Meta data of a document or a corpus provide information about its origin and the annotation process. Meta data for instance can give information on where the primary data came from, who annotated it, which tools have been used and so on. Thereby the row 'Name' shows the respective categories like 'writer' and the row 'Values' contains a list of the represented values like 'Goethe', 'Schiller', etc.",
            "annoDesc" : "This section displays all annotations contained in this corpus or documentwhich does not belong to any layer. Annotations being contained in layers are displayed below. Annotations in Salt are attribute-value-pairs. This table contains the frequencies of all annotation names (Name) and annotation values (Values).",
        "layerDesc" : [

        {"name" : "default_ns_desc" , "desc" : "These are the annotations for the default_ns layer. Annotations in Salt are attribute-value-pairs. This table contains the frequencies of all annotation names (Name) and annotation values (Values)."
        }]
        }
FlorianZipser commented 8 years ago

Where does this json data come from? The following lines:

    1{"name": "default_ns:form_kraeutername", "tooltip": ""},
    2{"name": "default_ns:author_ref", "tooltip": ""}
    3],

are not valid. because of the prefixing numbers (which look like line numbers, therefore the question, where does these data come from)?

traumfresser commented 8 years ago

Vivian told me, that she knows this problem and that she already fixed that some time ago, but I used the very last pepper version. I just know that I didn't add those numbers. Maybe Vivian can say more about this?

I uploaded the input and output data at HU-Box: https://box.hu-berlin.de/d/6afdf29493/ Thomas chose a standard password for such files.

FlorianZipser commented 8 years ago

@VivianV Can you help out?

VivianV commented 8 years ago

Yeah, it's a bug in the xslt file, where the parameter of a function is mistakenly printed, if the corpus contains SLayer (probably a result of the hacky sorting solution and the restriction of printing only the first three annotations). I'll fix that as soon as I can.

FlorianZipser commented 8 years ago

Ok, thanks for clarifying. Seems to be a little fix, no? @traumfresser Is there any deadline?

traumfresser commented 8 years ago

No, not really.