From 2de2f0a4e574c0ee6b2082a86f1c1bd6a78a4357 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 14 Aug 2011 20:53:06 +0300 Subject: [PATCH] Exact kilometer announcements (cs) - needs nighly build 2011-08-14 or later! --- OsmAnd/voice/cs-tts/_ttsconfig.p | 1 + 1 file changed, 1 insertion(+) diff --git a/OsmAnd/voice/cs-tts/_ttsconfig.p b/OsmAnd/voice/cs-tts/_ttsconfig.p index a12ad756e1..b70486f2a5 100644 --- a/OsmAnd/voice/cs-tts/_ttsconfig.p +++ b/OsmAnd/voice/cs-tts/_ttsconfig.p @@ -75,6 +75,7 @@ nth(17, 'sedmnáctý'). distance(Dist) == [ X, 'metrů'] :- Dist < 100, D is round(Dist/10)*10, num_atom(D, X). distance(Dist) == [ X, 'metrů'] :- Dist < 1000, D is round(2*Dist/100)*50, num_atom(D, X). distance(Dist) == ['přibližně jeden kilometr'] :- Dist < 1500. +distance(Dist) == ['přibližně', X, 'kilometry'] :- Dist < 4500, D is round(Dist/1000), num_atom(D, X). distance(Dist) == ['přibližně', X, 'kilometrů'] :- Dist < 10000, D is round(Dist/1000), num_atom(D, X). distance(Dist) == [ X, 'kilometrů'] :- D is round(Dist/1000), num_atom(D, X).