Your best bet would be to start up approx. 250 processes - one for each language and pass the audio input to each one in parallel. After a set time, any that haven't recognised the language should shut down - eventually you will get to your required language.
How to teach this application to detect the language?
Your question is too open ended. If you want to recognize all Armenian speakers and exclude every other possible language spoken in the world then as stated it is impossible. Probably be impossible even if the technology was up to it because there would be no way to test it.
Conversely if you want it to recognize Armenian when you speak it and maybe two friends and then be able to exclude French that you or someone else speaks and you limit it to some test phrases then it is a much more reasonable task and one that is quite doable.
Basic steps for the last
- Learn how to take audio samples (coding problem)
- Learn some basics of language phonics. This is not a coding problem and although a bit esoteric their are people who study it and post their findings.
- Learn how to capture the phonics from your audio samples.
- Put the above two together to differentiate a sample of Armenian from a sample of French.
AFTER you have done the above then you would have enough knowledge to make a stab at adding a teaching part to the application.
I am using AlternateViews to send plain text and html emails. I've found that if I add the HTML view first, then when sending the email as a SMS message, it doesn't pick up the plain text view. If I add the plain text view first, then the SMS message appears correct.
All I would like to know is if the order of adding the AlternateViews to the MailMessage object matters if you are sending an email as a SMS message? I can't find anything online that suggests it would so I am still looking for some confirmation.
Ummm...emails have nothing to do with SMS at all. SMS doesn't support "Alternate views" like an actual email client app would.
When you send an "email" to a phone, you're sending it to a Email to SMS gateway that translates the body text into a SMS message and sends that. I haven't heard of a single gateway that supports "alternate views" let alone HTML.
So, maybe I wasn't clear. When you send an email to an address like firstname.lastname@example.org, it appears as a text message on that mobile device. That is what I meant. In order to do that, you have create a plain text view and attach it to the MailMessage object so that the phone knows how to interpret the message. Each phone carrier has an email address that you can send an email to by using the phone number and the domain specifically assigned to that carrier. vtext.com is specific to Verizon.
I am using the following code to lop through contracts and send email to concern people. Same contract will have multiple people like a hardware contract should have IT and purchase emails in it. I am able to get the emails but the problem if there are two emails in the contract (john & smith) it will send two emails to john and two emails to smith.
John will receive the email saying Dear John and anther email saying Dear Smith.. similarly with Smith!
It would be the names of the classes that you use most often. Which classes those are probably going to depend on the projects and the types of projects you have worked on.
You can lead a developer to CodeProject, but you can't make them think.
The Theory of Gravity was invented for the sole purpose of distracting you from investigating the scientific fact that the Earth sucks.