On 14/09/2020 05:27, Einhard Leichtfuß wrote:
On 13/09/2020 21:49, Sebastian Humenda wrote:
Hi
Einhard Leichtfuß schrieb am 13.09.2020, 16:46 +0200:
For the resulting deu-eng.tei (eng-deu.tei not yet tested)[…]
+ `make validation' succeeds
- `teiaddphonetics' fails
Since you provided a regex, I trust you figured out which words lead to the
failure?
Note that the regex should actually be
[[:alphanum:]].*[!?:,]["']
(or so it seems).
--Can you craft a minimal working example, preferably with only a word, thatMinimal word: x!"
reproduces this behaviour? If not I have to go and bisect recursively :).
* <x! "> and <!"> are fine.
(Note that teiaddphonetics told me the culprit, when calling with
`--espeak-count 1'.)
Minimal TEI:
<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="freedict-dictionary.xsl"?>
<?xml-stylesheet type="text/css" href="freedict-dictionary.css"?>
<?oxygen SCHSchema="freedict-P5.rng"?>
<?oxygen RNGSchema="freedict-P5.rng" type="xml"?>
<!DOCTYPE TEI SYSTEM "freedict-P5.dtd">
<TEI xmlns="http://www.tei-c.org/ns/1.0" version="5.0";>
<teiHeader>
<fileDesc>
<titleStmt>
<title></title>
</titleStmt>
<editionStmt>
<edition></edition>
</editionStmt>
<publicationStmt>
<publisher></publisher>
</publicationStmt>
<sourceDesc>
<p></p>
</sourceDesc>
</fileDesc>
</teiHeader>
<text>
<body>
<entry>
<form>
<orth>x!"</orth>
</form>
</entry>
</body>
</text>
</TEI>