Stats: 3,186,913 members, 7,931,164 topics. Date: Sunday, 25 August 2024 at 05:52 PM |
Nairaland Forum / Science/Technology / Programming / President Buhari Voice Recognition Program - Contest For 50,000 Naira (27931 Views)
Need A Facial Recognition Software For Attendance Written In Python Or Java. Fo / . / Program To Sign The Greek Finance Minister's Signature - Contest For ₦20,000 (2) (3) (4)
(1) (2) (3) ... (6) (7) (8) (9) (10) (11) (Reply) (Go Down)
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by sisqology(m): 9:26am On Aug 10, 2015 |
SO, no one was able to solve this shii? well.....? *thinking* Well, brb! Let me see when I am less busy |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by dhtml(m): 9:36am On Aug 10, 2015 |
Na mission impossible im be. Abeg make una unban me jor, how can they ban me for trolling? when all these yeye professors on this thread have done worse than trolling? |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by lum1: 10:11am On Aug 10, 2015 |
Please seun, can you give the training set |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by dhtml(m): 10:23am On Aug 10, 2015 |
^^^what is this one saying again? me i no understand o! |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by carnalbabe(f): 6:57am On Aug 11, 2015 |
there should be correction at the end of this competition so that some us can learn ![]() afterall after them give test for class, teacher dey give correction |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by dhtml(m): 8:27am On Aug 11, 2015 |
Correction for quiz nobody don get? |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by ejihand1(m): 9:33am On Aug 11, 2015 |
Seun: I have been trying it using Matlab. It appears Matlab has the solution. Can I contest using matlab, sir? Modified: of cos , it can run on most window versions using Matlab compiler. Please reply. |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by dhtml(m): 9:51am On Aug 11, 2015 |
^^Go ahead and use it and stop wasting seun's time. As long as you get it right, dont come back to this thread asking questions. 2 Likes 1 Share |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by birdman(m): 1:44am On Aug 12, 2015 |
you mean no one has solved this yet? I'm tempted ![]() |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by dhtml(m): 6:02am On Aug 12, 2015 |
^^^No solution! |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by tgmservice: 8:56am On Aug 13, 2015 |
Eureka!!! I have done it how do I send my source code |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 11:30pm On Aug 15, 2015 |
N50,000 is too small for this. I am amazed we have hungry programmers on Nairaland who are ready to take peanuts. When seun increases it to N800,000 then I will provide the program. 1 Like |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 5:02am On Aug 16, 2015 |
^^^I will first you to submit it if that should happen. |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by sisqology(m): 11:07pm On Aug 17, 2015 |
I don even abandon am teytey! I no get time, hands tied ![]() ![]() ![]() ![]() |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 11:27pm On Aug 17, 2015 |
Na because of this thread them take ban me o - just for speaking the truth! Egba mi o! - dhtml18 |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 12:32am On Aug 18, 2015 |
package com.example.android.apis.app; import com.example.android.apis.R; import android.app.Activity; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.content.pm.ResolveInfo; import android.os.Bundle; import android.os.Handler; import android.speech.RecognizerIntent; import android.util.Log; import android.view.View; import android.view.View.OnClickListener; import android.widget.ArrayAdapter; import android.widget.Button; import android.widget.ListView; import android.widget.Spinner; import android.widget.SpinnerAdapter; import android.widget.TextView; import android.widget.Toast; import java.util.ArrayList; import java.util.List; /** * Sample code that invokes the speech recognition intent API. */ public class VoiceRecognition extends Activity implements OnClickListener { private static final String TAG = "VoiceRecognition"; private static final int VOICE_RECOGNITION_REQUEST_CODE = 1234; private ListView mList; private Handler mHandler; private Spinner mSupportedLanguageView; /** * Called with the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mHandler = new Handler(); // Inflate our UI from its XML layout description. setContentView(R.layout.voice_recognition); // Get display items for later interaction Button speakButton = (Button) findViewById(R.id.btn_speak); mList = (ListView) findViewById(R.id.list); mSupportedLanguageView = (Spinner) findViewById(R.id.supported_languages); // Check to see if a recognition activity is present PackageManager pm = getPackageManager(); List<ResolveInfo> activities = pm.queryIntentActivities( new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH), 0); if (activities.size() != 0) { speakButton.setOnClickListener(this); } else { speakButton.setEnabled(false); speakButton.setText("Recognizer not present" ![]() } // Most of the applications do not have to handle the voice settings. If the application // does not require a recognition in a specific language (i.e., different from the system // locale), the application does not need to read the voice settings. refreshVoiceSettings(); } /** * Handle the click on the start recognition button. */ public void onClick(View v) { if (v.getId() == R.id.btn_speak) { startVoiceRecognitionActivity(); } } /** * Fire an intent to start the speech recognition activity. */ private void startVoiceRecognitionActivity() { Intent intent = new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH); // Specify the calling package to identify your application intent.putExtra(RecognizerIntent.EXTRA_CALLING_PACKAGE, getClass().getPackage().getName()); // Display an hint to the user about what he should say. intent.putExtra(RecognizerIntent.EXTRA_PROMPT, "Speech recognition demo" ![]() // Given an hint to the recognizer about what the user is going to say intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, RecognizerIntent.LANGUAGE_MODEL_FREE_FORM); // Specify how many results you want to receive. The results will be sorted // where the first result is the one with higher confidence. intent.putExtra(RecognizerIntent.EXTRA_MAX_RESULTS, 5); // Specify the recognition language. This parameter has to be specified only if the // recognition has to be done in a specific language and not the default one (i.e., the // system locale). Most of the applications do not have to set this parameter. if (!mSupportedLanguageView.getSelectedItem().toString().equals("Default" ![]() intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, mSupportedLanguageView.getSelectedItem().toString()); } startActivityForResult(intent, VOICE_RECOGNITION_REQUEST_CODE); } /** * Handle the results from the recognition activity. */ @Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { if (requestCode == VOICE_RECOGNITION_REQUEST_CODE && resultCode == RESULT_OK) { // Fill the list view with the strings the recognizer thought it could have heard ArrayList<String> matches = data.getStringArrayListExtra( RecognizerIntent.EXTRA_RESULTS); mList.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_1, matches)); } super.onActivityResult(requestCode, resultCode, data); } private void refreshVoiceSettings() { Log.i(TAG, "Sending broadcast" ![]() sendOrderedBroadcast(RecognizerIntent.getVoiceDetailsIntent(this), null, new SupportedLanguageBroadcastReceiver(), null, Activity.RESULT_OK, null, null); } private void updateSupportedLanguages(List<String> languages) { // We add "Default" at the beginning of the list to simulate default language. languages.add(0, "Default" ![]() SpinnerAdapter adapter = new ArrayAdapter<CharSequence>(this, android.R.layout.simple_spinner_item, languages.toArray( new String[languages.size()])); mSupportedLanguageView.setAdapter(adapter); } private void updateLanguagePreference(String language) { TextView textView = (TextView) findViewById(R.id.language_preference); textView.setText(language); } /** * Handles the response of the broadcast request about the recognizer supported languages. * * The receiver is required only if the application wants to do recognition in a specific * language. */ private class SupportedLanguageBroadcastReceiver extends BroadcastReceiver { @Override public void onReceive(Context context, final Intent intent) { Log.i(TAG, "Receiving broadcast " + intent); final Bundle extra = getResultExtras(false); if (getResultCode() != Activity.RESULT_OK) { mHandler.post(new Runnable() { @Override public void run() { showToast("Error code:" + getResultCode()); } }); } if (extra == null) { mHandler.post(new Runnable() { @Override public void run() { showToast("No extra" ![]() } }); } if (extra.containsKey(RecognizerIntent.EXTRA_SUPPORTED_LANGUAGES)) { mHandler.post(new Runnable() { @Override public void run() { updateSupportedLanguages(extra.getStringArrayList( RecognizerIntent.EXTRA_SUPPORTED_LANGUAGES)); } }); } if (extra.containsKey(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE)) { mHandler.post(new Runnable() { @Override public void run() { updateLanguagePreference( extra.getString(RecognizerIntent.EXTRA_LANGUAGE_PREFERENCE)); } }); } } private void showToast(String text) { Toast.makeText(VoiceRecognition.this, text, 1000).show(); } } } |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 1:38am On Aug 18, 2015 |
^^^ Kai Alhaji Danjuma! why you come dey embarrass android boys for this forum like this now? Diaris GOD O! |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by jacob05(m): 8:22am On Aug 18, 2015 |
danjumakolo: ![]() ![]() ![]() ![]() ![]() ![]() |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 9:20am On Aug 18, 2015 |
jacob05:No mind the guy, na troll like dhtml18. |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Phourxx(m): 5:29am On Aug 19, 2015 |
Buhari's Voice Detection ![]() ![]() |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 6:31am On Aug 19, 2015 |
Phourxx:Plenty feofle don talk am before you, na lie una dey lie jor. |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 10:00pm On Aug 19, 2015 |
MuhammaduBuhari: U chop craze ba? U run the code ne? Abi e pass yo.level |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 10:07pm On Aug 19, 2015 |
I be android compiler, I fit run the codes with my eyes. And i tell you that code can never ever run. No layout file, no manifest, no gradle configuration, no resources, in fact no nothing. No voice library sef, in short that code na thrash. You don fail, go siddown jor, olodo like you - you deserve to be flogged in public. 1 Like |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 10:25pm On Aug 19, 2015 |
MuhammaduBuhari: All you mentioned are the architectural configuration and layout for app building in the Android studios. The question says "write a program" Right? |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by jacob05(m): 10:31pm On Aug 19, 2015 |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 10:39pm On Aug 19, 2015 |
danjumakolo:My friend, you must provide a working APP like your mates above (even though they all failed woefully). You think this is a computer science session where you will write some codes that will only run on paper and walk away? Compile this your program into a working APK if you dare, then and then, seun might talk to you. |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 10:53pm On Aug 19, 2015 |
MuhammaduBuhari: Boy,i ain't gat no time for that now. I only stumbled on the thread and felt I shud contribute to husstlers here.This was fetched from my past old projects.Even the way I posted should give you a clue that, this is just a passer by I have more important schedules to deal with. Sorry if i hurt you. Hope this helps |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by jacob05(m): 11:02pm On Aug 19, 2015 |
danjumakolo:hmmm.. your username says it all.. Thanks for "Trolling" by... |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by Nobody: 11:06pm On Aug 19, 2015 |
jacob05:that implies that he is gaddamn troll too. so na troll vs troll be that now. |
Re: President Buhari Voice Recognition Program - Contest For 50,000 Naira by jacob05(m): 11:08pm On Aug 19, 2015 |
MuhammaduBuhari: checkmate.. lolx |
(1) (2) (3) ... (6) (7) (8) (9) (10) (11) (Reply)
Kano Lady, Saadat Aliyu Develops Android App For Reporting Rape Cases / Why So Many Junior Developers Struggle To Get An Opportunity. / Best Uni For Bsc. Computer Science In Nigeria
Viewing this topic: 1 guest(s)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 52 |