This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TESSDATA_PATH=${1:-/usr/share/tesseract-ocr} | |
for F in $(find $TESSDATA_PATH/tessdata|grep "^$TESSDATA_PATH/tessdata/fra") | |
do | |
rm -f "${F/fra/fre}" | |
link "$F" "${F/fra/fre}" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
xmlns:end="https://www.example.org/END"> | |
<xsl:template match="/"> | |
<HTML> | |
<HEAD> | |
<TITLE>école des douanes</TITLE> | |
</HEAD> | |
<BODY BGCOLOR="#FFFFFF"> | |
<h1><xsl:value-of select="name()"/></h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<?xml-stylesheet type="text/xsl" href="file://D:/formateur/MonBureau/end.xsl"?> | |
<!-- <?xml-stylesheet type="text/xsl" href="file:///Users/rlaures/dev/cours/douanes/end.xsl"?> --> | |
<end xmlns="https://www.example.org/END" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="https://www.example.org/END https://gist.githubusercontent.com/ShamoX/e18ee2a6fe3cb27a5d520108b6d62ada/raw/d3d3b446a96d99c95b9256adf1337067b1516ffc/end.xsd"> | |
<etablissement> | |
<nom_etablissement>ENDT</nom_etablissement> | |
<adresse numero_voie="3" type_de_voie="allee" nom_voie="du Succès" code_postal="59200" ville="Tourcoing"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
targetNamespace="https://www.example.org/END" | |
xmlns:tns="https://www.example.org/END" | |
elementFormDefault="qualified"> | |
<xs:element name="end"> | |
<xs:complexType> | |
<xs:sequence> | |
<xs:element ref="tns:etablissement" minOccurs="1" maxOccurs="unbounded"/> |