Page MenuHomePhabricator

Swedish expressions of the type "600-talet" lose the number
Closed, ResolvedPublic

Description

When sending a request for Swedish with "N-talet", the number is removed, e.g:
http://morf.se:59125/process?INPUT_TEXT=600-talet&INPUT_TYPE=TEXT&OUTPUT_TYPE=PHONEMES&LOCALE=sv
gives:

<?xml version="1.0" encoding="UTF-8"?><maryxml xmlns="http://mary.dfki.de/2002/MaryXML" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="0.5" xml:lang="sv">
<p>
<s>
<t g2p_method="lexicon" ph="' t A: - l e t" pos="content">
60-talet
</t>
</s>
</p>
</maryxml>

Related Objects

Event Timeline

Fixed in a very simple way by inserting a space before the hyphen, in marytts_adapter.py
Not sure that's actually good enough..