Description of the smanobswe dict pipeline A. Mac pipeline 1. sources gtsvn/words/dicts/smanob/src gtsvn/words/dicts/smaswe/src svn update and test the source files: - well-formedness - DTD-validity - doubled entires 2. separate the dynamic from the static file (tmp dirs): src/dynamic vs. src/static 3. merge nob and swe verbs (use a tmp dir): copy gtsvn/words/dicts/smanob/src/v_smanob.xml and gtsvn/words/dicts/smanob/src/verbs_smaswe.xml to a tmp dir gtsvn/words/dicts/smanob/mergeDir ./cmd_merge.sh 4. replace v_smanob.xml with the merged verb file: mv ../mergeDir/all_v_smanob.xml v_smanob.xml 5. compile the dynamic part 5.1 put all entries into a single file gtsvn/words/dicts java -Xmx2048m net.sf.saxon.Transform -it main scripts/collect-dict-parts.xsl dir=../smanob/src > smanob/current_bin/smanob.xml 5.2 generate the "lemma-pos"-file for the paradigm generation process java -Xmx2048m net.sf.saxon.Transform smanob/current_bin/smanob.xml scripts/generate-lemma_pos_pairs.xsl > ../../../gtsvn/gt/sma/testing/cips_dictwords.txt 5.3 start the paradig generation process /Users/cipriangerstenberger/gtsvn/gt/sma/testing ./run_generation.sh 5.4 merge output of the generation process and the smanob dynamic file gtsvn/words/dicts java -Xmx2048m net.sf.saxon.Transform -s smanob/current_bin/smanob.xml -o smanob/current_bin/smanob_minipar.xml scripts/add-paradigm_smanob.xsl gtpath=../../../gtsvn/gt/sma/testing/Gen_tmp/XML_out outputDir=xml-rest-paradigm 5.5 move the smanob_minipar into the xml-rest-paradig directory gtsvn/words/dicts/smanob/current_bin mv smanob_minipar.xml xml-rest-paradigm 5.6 put word form entries and base form entries into a single file gtsvn/words/dicts java -Xmx2048m net.sf.saxon.Transform -it main scripts/collect-dict-parts.xsl dir=../smanob/current_bin/xml-rest-paradigm > smanob/current_bin/smanob.xml.tmp 5.7 generate the spelling variants for all entries gtsvn/words/dicts java -Xmx2048m net.sf.saxon.Transform -it main scripts/spellvar_smanob.xsl file=../smanob/current_bin/smanob.xml.tmp 5.8 put the output into the current_bin dir gtsvn/words/dicts cp CompResults/smanob_spelling.xml smanob/current_bin/smanob.xml.spell.tmp 5.9 convert the gt_dict into the mac_dict gtsvn/words/dicts java -Xmx2048m net.sf.saxon.Transform smanob/current_bin/smanob.xml.spell.tmp scripts/gtdict2macdict_smanobswe.xsl > smanob/current_bin/mac_smanob.xml mv smanob/current_bin/mac_smanob.xml smanob/current_bin/mac_dynamic_smanob.xml 6. compile the static part gtsvn/words/dicts put the static file into the src dir 6.1 put all entries into a single file java -Xmx2048m net.sf.saxon.Transform -it main scripts/collect-dict-parts.xsl dir=../smanob/src > smanob/current_bin/static_smanob.xml 6.2 generate spelling variants for the static files java -Xmx2048m net.sf.saxon.Transform -it main scripts/spellvar_smanob.xsl file=../smanob/current_bin/static_smanob.xml 6.3 move it to the current_bin mv CompResults/smanob_spelling.xml smanob/current_bin/s_smanob.xml.spell.tmp 6.4 convert the gt_dict into the mac_dict java -Xmx2048m net.sf.saxon.Transform smanob/current_bin/s_smanob.xml.spell.tmp scripts/gtdict2macdict_smanob_static.xsl > smanob/current_bin/mac_stat_smanob.xml 7. merge static and dynamic files and compile the dict gtsvn/words/dicts/smanob/macdict make clean make make install A. StarDict pipeline