https://wiki.crosswire.org/index.php?title=Tutorials:SWORD_101&feed=atom&action=history
Tutorials:SWORD 101 - Revision history
2024-03-29T11:41:32Z
Revision history for this page on the wiki
MediaWiki 1.27.7
https://wiki.crosswire.org/index.php?title=Tutorials:SWORD_101&diff=11943&oldid=prev
David Haslam: /* EXAMPLE TEXT PROCESSING FLOW */ Category:Tutorials
2012-08-10T12:21:22Z
<p><span dir="auto"><span class="autocomment">EXAMPLE TEXT PROCESSING FLOW: </span> <a href="/Category:Tutorials" title="Category:Tutorials">Category:Tutorials</a></span></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 12:21, 10 August 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l48" >Line 48:</td>
<td colspan="2" class="diff-lineno">Line 48:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*NB: There are additional stages of processing: encoding stage, decipher stage, strip/normalize for search stage, etc., but this is a 100 level course.</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*NB: There are additional stages of processing: encoding stage, decipher stage, strip/normalize for search stage, etc., but this is a 100 level course.</div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">[[Category:Tutorials]]</ins></div></td></tr>
</table>
David Haslam
https://wiki.crosswire.org/index.php?title=Tutorials:SWORD_101&diff=8804&oldid=prev
David Haslam: Pasted from email, and lightly edited
2010-12-03T16:45:37Z
<p>Pasted from email, and lightly edited</p>
<p><b>New page</b></p><div>== EXAMPLE TEXT PROCESSING FLOW ==<br />
<pre><br />
____________________<br />
<br />
*Publisher's Document*<br />
/ Chaos and Unrest /<br />
____________________<br />
<br />
|<br />
osis2mod<br />
v<br />
____________________<br />
<br />
*SWORD Storage*<br />
/ Unrest /<br />
Markup normalized<br />
Document partitioned into user-referencable, tasty bite-sized chunks<br />
____________________<br />
<br />
|<br />
option filters<br />
v<br />
____________________<br />
<br />
*Stage 1 Processed*<br />
/ Some Rest /<br />
Entity focused classes each have processed their 'concept': notes, lemma, crossref, etc.<br />
Interesting attributes registered to EntryAttributes map<br />
Some editorial decisions made, like removing inlining of notes, pre-verse headers<br />
Features turned on or off based on user preference<br />
____________________<br />
<br />
|<br />
render filters<br />
V<br />
____________________<br />
<br />
*HTML output*<br />
/ Peace and Tranquility /<br />
Markup converted to HTML<br />
Where inlining was removed, the residual marker tags now have direct pointers <br />
back to their EntryAttributes section enabling the frontend to do what they'd <br />
like on events like hover-over<br />
____________________<br />
<br />
<br />
</pre><br />
<br />
*NB: There are additional stages of processing: encoding stage, decipher stage, strip/normalize for search stage, etc., but this is a 100 level course.</div>
David Haslam