Update OsmAnd/assets/voice/hu-tts/ttsconfig.p

translating intermediate points;
changing "úti cél" to a grammatically incorrect but more TTS friendly form
This commit is contained in:
Báthory Péter 2012-11-17 10:25:21 +01:00
parent e2a29569e3
commit 01dade4fa0

View file

@ -16,33 +16,33 @@ turn('right_sl', ['fordulj enyhén jobbra ']).
turn('right_keep', ['tarts jobbra ']).
turn('left_keep', ['tarts balra ']).
prepare_turn(Turn, Dist) == [D, ' múlva ', M] :- distance(Dist, no-t) == D, turn(Turn, M).
turn(Turn, Dist) == [D, 'múlva ', M] :- distance(Dist, no-t) == D, turn(Turn, M).
prepare_turn(Turn, Dist) == [D, ' múlva ', M] :- distance(Dist, nom) == D, turn(Turn, M).
turn(Turn, Dist) == [D, 'múlva ', M] :- distance(Dist, nom) == D, turn(Turn, M).
turn(Turn) == M :- turn(Turn, M).
prepare_make_ut(Dist) == [D, ' múlva készülj fel a visszafordulásra'] :- distance(Dist, no-t) == D.
make_ut(Dist) == [D, ' múlva fordulj vissza '] :- distance(Dist, no-t) == D.
prepare_make_ut(Dist) == [D, ' múlva készülj fel a visszafordulásra'] :- distance(Dist, nom) == D.
make_ut(Dist) == [D, ' múlva fordulj vissza '] :- distance(Dist, nom) == D.
make_ut == ['Fordulj vissza '].
make_ut_wp == ['Fordulj vissza '].
prepare_roundabout(Dist) == [D, ' múlva hajts be a körforgalomba'] :- distance(Dist, no-t) == D.
roundabout(Dist, _Angle, Exit) == [D, ' múlva a körforgalomban ', E, 'kijáraton hajts ki'] :- distance(Dist, no-t) == D, nth(Exit, E).
prepare_roundabout(Dist) == [D, ' múlva hajts be a körforgalomba'] :- distance(Dist, nom) == D.
roundabout(Dist, _Angle, Exit) == [D, ' múlva a körforgalomból ', E, 'kijáraton hajts ki'] :- distance(Dist, nom) == D, nth(Exit, E).
roundabout(_Angle, Exit) == ['hajts ki ', E, 'kijáraton'] :- nth(Exit, E).
go_ahead == ['Haladj tovább egyenesen '].
go_ahead(Dist) == ['Menj tovább ', D] :- distance(Dist, t) == D.
go_ahead(Dist) == ['Menj tovább ', D] :- distance(Dist, acc) == D.
and_arrive_destination == ['és megérkezel az úti célhoz '].
and_arrive_intermediate == ['and arrive at your via point '].
reached_intermediate == ['you have reached your via point'].
and_arrive_destination == ['és megérkezel az uticélhoz.'].
and_arrive_intermediate == ['és megérkezel a köztes célponthoz.'].
reached_intermediate == ['megérkeztél a köztes célponthoz.'].
then == ['majd '].
reached_destination == ['megérkeztél az úti célhoz '].
reached_destination == ['megérkeztél az uticélhoz.'].
bear_right == ['tarts jobbra '].
bear_left == ['tarts balra '].
route_new_calc(Dist) == ['Az útvonal ', D] :- distance(Dist, no-t) == D.
route_recalc(Dist) == ['útvonal újratervezése, az útvonal ', D] :- distance(Dist, no-t) == D.
route_new_calc(Dist) == ['Az útvonal ', D] :- distance(Dist, nom) == D.
route_recalc(Dist) == ['útvonal újratervezése, az útvonal ', D] :- distance(Dist, nom) == D.
location_lost == ['nem található dzsípíesz pozíció '].
@ -68,16 +68,17 @@ nth(17, 'a tizenhetedik ').
%%% distance measure
distance(Dist, no-t) == [ X, ' méter'] :- Dist < 100, D is round(Dist/10.0)*10, num_atom(D, X).
distance(Dist, t) == [ X, ' métert'] :- Dist < 100, D is round(Dist/10.0)*10, num_atom(D, X).
distance(Dist, no-t) == [ X, ' méter'] :- Dist < 1000, D is round(2*Dist/100.0)*50, num_atom(D, X).
distance(Dist, t) == [ X, ' métert'] :- Dist < 1000, D is round(2*Dist/100.0)*50, num_atom(D, X).
distance(Dist, no-t) == ['körülbelül 1 kilométer'] :- Dist < 1500.
distance(Dist, t) == ['körülbelül 1 kilométert'] :- Dist < 1500.
distance(Dist, no-t) == ['mintegy ', X, ' kilométer'] :- Dist < 10000, D is round(Dist/1000.0), num_atom(D, X).
distance(Dist, t) == ['mintegy ', X, ' kilométert'] :- Dist < 10000, D is round(Dist/1000.0), num_atom(D, X).
distance(Dist, no-t) == [ X, ' kilométer'] :- D is round(Dist/1000.0), num_atom(D, X).
distance(Dist, t) == [ X, ' kilométert'] :- D is round(Dist/1000.0), num_atom(D, X).
%%% nom=nominative, acc=accusative
distance(Dist, nom) == [ X, ' méter'] :- Dist < 100, D is round(Dist/10.0)*10, num_atom(D, X).
distance(Dist, acc) == [ X, ' métert'] :- Dist < 100, D is round(Dist/10.0)*10, num_atom(D, X).
distance(Dist, nom) == [ X, ' méter'] :- Dist < 1000, D is round(2*Dist/100.0)*50, num_atom(D, X).
distance(Dist, acc) == [ X, ' métert'] :- Dist < 1000, D is round(2*Dist/100.0)*50, num_atom(D, X).
distance(Dist, nom) == ['körülbelül 1 kilométer'] :- Dist < 1500.
distance(Dist, acc) == ['körülbelül 1 kilométert'] :- Dist < 1500.
distance(Dist, nom) == ['mintegy ', X, ' kilométer'] :- Dist < 10000, D is round(Dist/1000.0), num_atom(D, X).
distance(Dist, acc) == ['mintegy ', X, ' kilométert'] :- Dist < 10000, D is round(Dist/1000.0), num_atom(D, X).
distance(Dist, nom) == [ X, ' kilométer'] :- D is round(Dist/1000.0), num_atom(D, X).
distance(Dist, acc) == [ X, ' kilométert'] :- D is round(Dist/1000.0), num_atom(D, X).
%% resolve command main method