Notices


Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#221
Originally Posted by taixzo View Post
Still working on most of the changes I mentioned, but I have one important update: you can now change the language Saera speaks! Say something along the lines of "Language settings" and you will be able to pick from English, Spanish, Portuguese and a rather incomplete German. You will still have to speak English, at least until I can translate the corpus, but Saera will respond in the language you select (most of the time).

Saera will not remember this choice next time she is launched. I would like to say this is so you don't get stuck in a language you don't understand, but really it's just because I don't know how to save the choice.
If it's an update, please change the version number. IIRC the version before was 0.1-0 too.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 293 | Thanked: 163 times | Joined on Jan 2012 @ beijing-islamabad
#222
Originally Posted by taixzo View Post
I am working on these. Expect to see some tomorrow; today I was focusing on languages.
it should have been in the repos .maemo council should be taking notice about the issue.As it would be hard to uninstall every old .deb and replace it with the new updated one each time .
Anyhow hope it reaches there soon .
And @ taixzo please do something about 95% saera saying sorry ..
 
Posts: 661 | Thanked: 1,625 times | Joined on Apr 2012 @ Croatia,Zagreb
#223
this is cool.
something new for maemo.
thanks taixzo !
 
Posts: 102 | Thanked: 17 times | Joined on Mar 2010 @ Herne,Germany
#224
german translate:
Code:
#!/usr/bin/python

#Don't change this next line, it tells espeak how to pronounce this language
espeak_cmdline = "espeak -vde+f2"

tens = {'zwanzig':20, 'dreizig':30, 'vierzig':40, 'fünfzig':50, 'sechzig':60}
teens = {'zehn':10, 'elf':11, 'zwölf':12, 'dreizehn':13, 'vierzehn':14, 'fünfzehn':15, 'sechszehn':16,'siebzehn':17, 'achtzehn':18, 'neunzehn':19}
ones = {'eins':1, 'zwei':2, 'drei':3, 'vier':4, 'fünf':5, 'sechs':6, 'sieben':7, 'acht':8, 'neun':9}

life_universe_everything = ['41.99999999.',
			'Schokolade.',
			'That will take me some time to answer. About seven and a half million years.',
			'Love is the meaning of life. The rest of the universe will figure itself out.',
			'Open-source software.',
			'Ich.',
			'Take a vacation to the tropics.',
			'It takes two people.',
			['What do you want the answer to be?', 'store_answer'],
			'Zwei und fiertzig.',
			# A Matrix quote too, why not.
			'The Matrix is the world that has been pulled over your eyes to blind you from the truth.']

greeting = ['Hallo!',
	'Gruss dich.',
	'Hi.',
	'Hey.',
	'Aloha!',
	'Hallo!',
	'Hallo!',
	'Hallo!',
	'Hallo!',
	"Es ist ein guter Tag fur künstliche Intelligenz.",
	'Hey da!']
greeting_grumpy = "Weggehen."

test = ['Ich arbeite.',
	 'Test, test, eins, zwei, drei.',
	 'Status bericht: Saera läuft.',
	 'erfolgreich']

# Times
known_time = "Jetzt ist es %I:%M %p."
unknown_time = "Es tut mir leid, ich weiß nicht wie spät es in "

# Phone
phone_number_error = "Telefonnumern haben zehn oder elf zahlen."
contact_name_error = "Ich weiß nicht wer das ist."
successful_call = "Rufe an "

N900_facts = ["Das N900 ist der konig der Handys.",
	"Wusstest du das Mac OSX auf dem N900 läuft?",
	"Nokia hat es hergestellt und die Community hat die Arbeit gemacht.",
	"Das N900 hatte ein Retina display bevor das iPhone es hatte.",
	"There are good resources for the N900 on maemo.org.",
	"Let's take a computer, a camera, a radio and a phone"+
	" and put them in one package. That device you are now holding in your hand.",
	"The N900 has been made to run at least 8 operating systems.",
	"Und wenn es keine app gibt die du brauchst, kannst du eine erstellen!"]

# Pictures
took_picture = "Ich habe ein Bild gemacht."
took_front_picture = "Ok. Ich habe ein Bild von dir gemacht."

i_love_you = "Und ich liebe dich auch, wir sollten XKCD lesen."

heres_where_you_are = "Ich zeige dir wo du bist."

# Reminders
what_reminder_time = 'Wann soll ich dich erinnern?'
reminding_you = 'Erinner dich'

#Time
bells = {'viertel':15, 'halb':30}
times = {'mittag':12, 'mitternacht':0, 'morgen':9, 'nachmittag':16, 'abend':19, 'nacht':21}
weekdays = ['sonntag','montag','dienstag','mittwoch','donnerstag','freitag','samstag']

Last edited by bonkel; 2012-06-17 at 12:38.
 

The Following 2 Users Say Thank You to bonkel For This Useful Post:
Dave999's Avatar
Posts: 7,074 | Thanked: 9,069 times | Joined on Oct 2009 @ Moon! It's not the East or the West side... it's the Dark Side
#225
What languages are supported, Can we add new ones?
 
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#226
Originally Posted by Chuck Norris View Post
What languages are supported, Can we add new ones?
Currently there are translations for Spanish, Portuguese and German. You can add new ones by copying sentences_english.py and translating the strings.
 

The Following 2 Users Say Thank You to taixzo For This Useful Post:
Posts: 26 | Thanked: 7 times | Joined on Sep 2011
#227
What do I need to do before I speak to the phone?
Tap on the microfone?
is that possible to make it work with the bluetooth headset?
 
Posts: 958 | Thanked: 3,426 times | Joined on Apr 2012
#228
Originally Posted by menghao1993 View Post
What do I need to do before I speak to the phone?
Tap on the microfone?
is that possible to make it work with the bluetooth headset?
Tap the button, or put it to your ear like you were talking on the phone. It should be possible (there was talk about a script to do that, but I never saw any code, and that hasn't been a high priority), but not yet.
 

The Following User Says Thank You to taixzo For This Useful Post:
Dave999's Avatar
Posts: 7,074 | Thanked: 9,069 times | Joined on Oct 2009 @ Moon! It's not the East or the West side... it's the Dark Side
#229
Super cool. But it's really hard to update. Why not push this to repository?

Much easier. Thanksnks for a funny project.
__________________
Do something for the climate today! Anything!

I don't trust poeple without a Nokia n900...
 
Posts: 19 | Thanked: 11 times | Joined on Jun 2012
#230
this could come handy when driving a vehicle.
 
Reply

Tags
saera, speech-to-text

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:29.