Language translator


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2005
    Location
    New Jersey
    Posts
    425

    Default Language translator

    My daughter wants to make a language translator for her science project. She wants to make a Siri-like device but obviously not as complex, no search function and it translates English into different languages. This seems like a daunting task but we starting looking into it and ordered a few things. We have a recording/playback module (ISD-COB17240), which works well, but I'm at a loss as to how to interpret a word. For example, if the user says "hello," I don't know how (or what's the best way) to interpret that audio.

    I know part of the fun about a science fair is learning but if the end result is going to be a failed project, I'd prefer she do something different. We're trying to make this project "not so complicated" and at first glance this is what I was thinking:
    Code:
    MAINLOOP:
    
    IF VALID_WORD=1 THEN
        LED1=1
        GOSUB CHECK_AUD
        LED1=0
    ENDIF
    
    GOTO MAINLOOP
    
    CHECK_AUD:
        SELECT CASE SPOKEN_WORD
            CASE 2545
                PLAY "HELLO"
            CASE 3568 
                PLAY "GOODBYE"
            CASE 5834
                PLAY "LEFT"
            CASE 12202
                PLAY "RIGHT"
        END SELECT
    RETURN
    Obviously this isn't the PBP code but it's where I was thinking of going initially. Perhaps using the count function or a vibration sensor to record "known" words and then use the select case statement to playback the audio. It seems like good translators take into account a number of variables like accents and the speed at which a person says a word but that isn't the scope of our project. With a limited number of "known" words, the translation part should be easier and provide reliable results.

    Any advice?

  2. #2
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: Language translator

    Christopher

    Try searching the forum for "wav player"


    Norm

Similar Threads

  1. Assembly Language Conflict
    By NO2K in forum General
    Replies: 2
    Last Post: - 24th July 2007, 00:42
  2. Assembly Language + PBP
    By Charles Linquis in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th January 2006, 13:54
  3. MPLAB 7.11 language
    By wijono in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 10th June 2005, 13:06
  4. 115200 Baud to 9600 Baud Translator
    By ScottC in forum mel PIC BASIC Pro
    Replies: 16
    Last Post: - 22nd March 2005, 10:16
  5. MPLAB 7.00 Language Tools
    By DelBoy in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 21st December 2004, 18:16

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts