[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Automatic generator for LegalCiteM JSON structures
Dear all, I prepared a quick and dirty generator of JSON structures for LegalCiteM references. You can find it at: https://docs.google.com/spreadsheets/d/1x3VFfAiOZK97PgwQZ54zVM5xGp_qgQWDbLMhnaEhWWw/edit?usp=sharing To use it on your own, go to the above link, then select "File > Make a Copy..." and save it as your own sheet. I made two examples (scroll down to see the second one), but you can create as many as you want by coping/pasting the example block as many times as you want. With respect to the syntax I shared before there is a visible difference: associated to the feature name you do not find the double array anymore > "language": [ > [ "en", "eng", "English" ], > [ "en-us", "American English" ] > ] but an object with more complete specification of the feature values with (optional) indication of author and confidence level: > "language": { > "confidence": 0.9, > "author": "John Smith", > "values": [ > [ "en", "eng", "English" ], > [ "en-us", "American English" ] > ] > } This is to support the requirement to provide for a confidence level in the specification of features in the interpretation frame, so that even dubious specifications can be provided. Should we decide that we do not actually need a confidence level, I can go back to the old syntax in no time. One more detail: I made some tests with an alternative syntax that details frame and FRBR level for each feature rather than group them in clusters. You can find it in the tab called "Second Syntax" in the bottom of the page. The information content and the correctness of the JSON are identical in both syntaxes. On Wednesday's call we could discuss if we like the first or the second syntax best. Or a third one, if you have different ideas. Creating one syntax or another is a matter of minutes, and I can modify it while you wait. Ciao Fabio -- Fabio Vitali The sage and the fool Dept. of Informatics go to their graves Univ. of Bologna ITALY alike in this respect: phone: +39 051 2094872 both believe the sage to be a fool. e-mail: fabio@cs.unibo.it Where, then, may wisdom be found? http://vitali.web.cs.unibo.it/ Qi, "Neither Yes nor No", The codeless code
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]