Also, cleaned makefile, less magic stringspull/1/head
parent
b2d1441e9a
commit
38fe7a5740
@ -0,0 +1,103 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<dictionary>
|
||||
<entry>
|
||||
<head>
|
||||
<status>AE</status>
|
||||
<headword>
|
||||
<lemma audio="audio-3132">bolnišnica</lemma>
|
||||
<homonymy>
|
||||
<homonymyFeature name="pronunciation">bolníšnica</homonymyFeature>
|
||||
<homonymyFeature name="blahblah">xyz</homonymyFeature>
|
||||
<homonymyFeature name="bluhbluh">abc</homonymyFeature>
|
||||
</homonymy>
|
||||
</headword>
|
||||
|
||||
<lexicalUnit id="34242" type="single">
|
||||
<lexeme lexical_unit_lexeme_id="535342">bolnišnica</lexeme>
|
||||
</lexicalUnit>
|
||||
|
||||
<grammar>
|
||||
<category>samostalnik</category>
|
||||
<grammarFeature name="gender">feminine</grammarFeature>
|
||||
</grammar>
|
||||
|
||||
<measureList>
|
||||
<measure type="frequency" source="Gigafida 1.0">151686</measure>
|
||||
</measureList>
|
||||
|
||||
<variantList>
|
||||
<variant lexical_unit_id="12345"></variant>
|
||||
</variantList>
|
||||
|
||||
<relatedEntryList>
|
||||
<relatedEntry lexical_unit_id="56788"></relatedEntry>
|
||||
<relatedEntry lexical_unit_id="56789"></relatedEntry>
|
||||
</relatedEntryList>
|
||||
|
||||
<labelList>
|
||||
<label type="sometype">value3</label>
|
||||
</labelList>
|
||||
|
||||
<comment></comment>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<senseList>
|
||||
<sense id="834324">
|
||||
|
||||
<labelList>
|
||||
<label type="number">plural</label>
|
||||
<label type="domain">Construction</label>
|
||||
</labelList>
|
||||
|
||||
<definitionList>
|
||||
<definition type="indicator">object</definition>
|
||||
<definition type="general">an object for living</definition>
|
||||
</definitionList>
|
||||
|
||||
<translationContainerList>
|
||||
<translationContainer cluster="1">
|
||||
<labelList>
|
||||
<label type="type3">value7</label>
|
||||
</labelList>
|
||||
<translation targetLang="hun" source="source1">hiša</translation>
|
||||
<explanation/>
|
||||
</translationContainer>
|
||||
<translationContainer cluster="1">
|
||||
<translation targetLang="hun">dom</translation>
|
||||
</translationContainer>
|
||||
</translationContainerList>
|
||||
|
||||
<exampleContainerList>
|
||||
<exampleContainer>
|
||||
<corpusExample example_id="4343" modified="true" audio="audio-465346">Kupili smo <comp role="headword">hišo</comp>.</corpusExample>
|
||||
<translationContainer>
|
||||
<labelList>
|
||||
<label type="type5">value8</label>
|
||||
</labelList>
|
||||
<translation targetLang="hun">Blah blah blah 1.</translation>
|
||||
</translationContainer>
|
||||
</exampleContainer>
|
||||
<exampleContainer>
|
||||
<multiwordExample lexical_unit_id="19" type="collocation" audio="audio-56643">
|
||||
<comp role="collocate">si</comp>
|
||||
<comp role="collocate" sloleks="LE_blahblah">ogledati</comp>
|
||||
<comp role="headword">hiša</comp>
|
||||
</multiwordExample>
|
||||
<translationContainer>
|
||||
<translation targetLang="hun" source="source2" audio="audio-blah-77242">blah blah2</translation>
|
||||
</translationContainer>
|
||||
</exampleContainer>
|
||||
<exampleContainer>
|
||||
<corpusExample example_id="552439" modified="false" lexical_unit_id="19"><comp role="collocate">Ogledali</comp> smo <comp role="collocate">si</comp> <comp role="headword">hišo</comp>.</corpusExample>
|
||||
<translationContainer>
|
||||
<translation targetLang="hun" source="source2">Blah blah blah 3.</translation>
|
||||
</translationContainer>
|
||||
</exampleContainer>
|
||||
</exampleContainerList>
|
||||
</sense>
|
||||
</senseList>
|
||||
</body>
|
||||
</entry>
|
||||
</dictionary>
|
||||
|
@ -0,0 +1,7 @@
|
||||
var fs = require('fs');
|
||||
var div = document.getElementById("app");
|
||||
var editable = true;
|
||||
var entry = {"content": fs.readFileSync('vsms1.xml', 'utf8')};
|
||||
|
||||
plugin_init(div, entry, editable);
|
||||
plugin_render(div, entry);
|
Loading…
Reference in new issue