Elisa Beshero-Bondar · @epyllia
461 followers · 826 posts · Server indieweb.social

All this is an example of stuff I learn while assisting students on projects--they didn't really need the XSLT to be bundled into the python script, but it was a good opportunity for me to learn how to do it, at last!

#saxonc #saxonica #xslt #python

Last updated 2 years ago

Elisa Beshero-Bondar · @epyllia
461 followers · 825 posts · Server indieweb.social

Pipeline concluded: Afterwards must clean up new spaCy mess b/c the autotagging matches over its own tags--gross! Regex could clean this up but XSLT is better b/c simpler: reads element nodes natively, thank you very much! So we run XSLT (in Python). Yay for a pipeline roundtrip! (3/3)

#saxonc #saxonica #python #xslt

Last updated 2 years ago

Elisa Beshero-Bondar · @epyllia
461 followers · 824 posts · Server indieweb.social

Pipeline (in stages): Python reads XML nodes (retrieved by SaxonC XPath), the spaCy LLM goes looking for named entities, parts of speech, whatever, we run it thru the NER ruler to filter/change/fix the spaCy LLM mess, then search and replace matching strings in the XML with new XML elements.

#saxonc #saxonica #python #xslt

Last updated 2 years ago

Elisa Beshero-Bondar · @epyllia
461 followers · 823 posts · Server indieweb.social

Unexpected learning adventure: Figured out how to run XSLT 3 inside a Python script (thanks SaxonC PySaxon processor!) Context: a Python pipeline that my students have to modify/customize. (1/3?)

#saxonc #xslt #python

Last updated 2 years ago

Norm Tovey-Walsh · @ndw
304 followers · 525 posts · Server mastodon.social

Happy holidays and best wishes for peace and joy in this festive season! And toys. dev.saxonica.com/blog/norm/202

#saxonica #saxonc #python #xslt

Last updated 2 years ago