Skip to content

Instantly share code, notes, and snippets.

@xavierLaurentSalvador
xavierLaurentSalvador / index.xqm
Last active March 18, 2017 07:13
Code for french Syllabation in XQuery (see it in action at http://www.isilex.fr/syllabation). Install a repo and call graal:scande($string). Return an XML entity with césure, verses, tonic .
xquery version "1.0" encoding "utf-8";
module namespace local = "http://www.humanitesnumeriques.fr";
(:Naive Approch for french syllabation. :)
(: By Xavier-Laurent SALVADOR on GitHub :)
(:-------------------------------------------:)
(: can be called local:scande( :)
(: "coucou" :)
(: ) :)
(:just contact me at :)