| Newsgroups |
gmane.text.xml.xsl.general.mulberrytech |
| Message-ID |
<[email protected]> |
--000000000000d3590c05be70ac89
Content-Type: text/plain; charset="UTF-8"
An ancient but very powerful tool called Consistent Changes handles this
very easily. Program available for free at
https://software.sil.org/cc/
The table would be
'xxxx' > 'yyyyyyy'
'as many items' > 'that you like'
'very efficient' > 'but old program'
I use this program along with XSLT. I choose the best from each world.
Right now I am converting a dictionary in Word format to be input into FLEx
(our linguistic tool) for handling dictionaries. I export Word to XHTML and
then process with the context in mind with XSLT. After I have done as much
as I can here I switch to CC. There are lots of items that are better
handled with the changes tables.
Jim Albright
Wycliffe Bible Translators
704-562-1529
On Thu, Mar 25, 2021 at 1:35 PM Liam R. E. Quin [email protected] <
[email protected]> wrote:
> On Thu, 2021-03-25 at 16:29 +0000, [email protected] wrote:
> > Thank you Michael. I like the idea of keeping the processing cost
> > constant
> > but I was going to use regular expressions in my map, so I may still
> > have to
> > loop through the lookup structure.
>
> An alternative to consider is to put your input document into a map and
> check each map key against all the tokens.
>
> Liam
>
>
>
> --
> Liam Quin, https://www.delightfulcomputing.com/
> Available for XML/Document/Information Architecture/XSLT/
> XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.
> Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org
>
>
>
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386
or by email: [email protected]
--~--
--000000000000d3590c05be70ac89
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>An ancient but very powerful tool called Consistent C=
hanges handles this very easily.=C2=A0 Program available for free at</div><=
div><a href=3D"https://software.sil.org/cc/">https://software.sil.org/cc/</=
a></div><div><br></div><div>The table would be</div><div><br></div><div>=
9;xxxx'=C2=A0=C2=A0=C2=A0 >=C2=A0 'yyyyyyy'</div><div>'a=
s many items'=C2=A0=C2=A0=C2=A0 >=C2=A0 'that you like'</div=
><div>'very efficient'=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 >=C2=
=A0 'but old program'</div><div><br></div><div><div><div dir=3D"ltr=
" class=3D"gmail_signature" data-smartmail=3D"gmail_signature"><div dir=3D"=
ltr"><div>I use this program along with XSLT.=C2=A0 I choose the best from =
each world.=C2=A0 Right now I am converting a dictionary in Word format to =
be input into FLEx (our linguistic tool) for handling dictionaries. I expor=
t Word to XHTML and then process with the context in mind with XSLT.=C2=A0 =
After I have done as much as I can here I switch to CC. There are lots of i=
tems that are better handled with the changes tables.<br></div><div><br></d=
iv><div>Jim Albright</div><div>Wycliffe Bible Translators</div><div>704-562=
-1529<br></div></div></div></div><br></div></div><br><div class=3D"gmail_qu=
ote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Mar 25, 2021 at 1:35 PM =
Liam R. E. Quin <a href=3D"mailto:[email protected]">liam@fromoldbooks.=
org</a> <<a href=3D"mailto:[email protected]">xsl-=
[email protected]</a>> wrote:<br></div><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex">On Thu, 2021-03-25 at 16:29 +0000, <a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>=
wrote:<br>
> Thank you Michael. I like the idea of keeping the processing cost<br>
> constant<br>
> but I was going to use regular expressions in my map, so I may still<b=
r>
> have to<br>
> loop through the lookup structure.<br>
<br>
An alternative to consider is to put your input document into a map and<br>
check each map key against all the tokens.<br>
<br>
Liam<br>
<br>
<br>
<br>
-- <br>
Liam Quin,=C2=A0<a href=3D"https://www.delightfulcomputing.com/" rel=3D"nor=
eferrer" target=3D"_blank">https://www.delightfulcomputing.com/</a><br>
Available for XML/Document/Information Architecture/XSLT/<br>
XSL/XQuery/Web/Text Processing/A11Y training, work & consulting.<br>
Barefoot Web-slave, antique illustrations: =C2=A0<a href=3D"http://www.from=
oldbooks.org" rel=3D"noreferrer" target=3D"_blank">http://www.fromoldbooks.=
org</a><br>
<br>
<br>
</blockquote></div>
<div><!-- begin bl.html.trailer -->
<div style=3D"border-top:1px solid black; background-color: #dddddd;
color: #888888; font-size: smaller; padding: 5px; text-align: center;
font-family: arial,verdana,arial,sans-serif; margin-top:1em; clear:
both; margin: auto">
<a href=3D"http://www.mulberrytech.com/xsl/xsl-list">
XSL-List info and archive</a>
<div style=3D"text-align:center;">
<a style=3D"color: blue;"
href=3D"http://lists.mulberrytech.com/unsub/xsl-list/3329386"
>EasyUnsubscribe</a>
(<a style=3D"color: blue;"
href=3D"mailto:[email protected]?subject=3Dremove"
>by email</a>)
</div>
</div>
<!-- end bl.html.trailer --></div>
--000000000000d3590c05be70ac89--