Summer of Code/2014/bliss-sid/Voice-interface: Difference between revisions

Bliss-sid (talk | contribs)
No edit summary
Bliss-sid (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 52: Line 52:
'''3.''' Their will be  special support for '''TurtleBlocks,Terminal,Chat and Browse activity''' like for TurtleBlocks activity,if we say
'''3.''' Their will be  special support for '''TurtleBlocks,Terminal,Chat and Browse activity''' like for TurtleBlocks activity,if we say
                                         “Forward 20”,it goes 20 units forward.
                                         “Forward 20”,it goes 20 units forward.




Line 202: Line 200:
'''3. Is there anything else we should have asked you or anything else that we should know that might make us like you or your project more?'''
'''3. Is there anything else we should have asked you or anything else that we should know that might make us like you or your project more?'''


I read somewhere that Summer of Code is not about how much you know. It is about how quickly you can learn and how eager you are to contribute to your Open Source community.I have loved studying the Sugarlabs repository and learned a lot so far.


The basic working of this feature will be like
I feel it is important to start earlier on this project.All the codes I will make before the community bonding period will be uploaded at 
 
  def get_hyp(self):
     
      """
      This function returns the final recognized string of the
      utterance.It is an inbuilt function in pocketsphinx.
      """
      cdef const_char_ptr hyp
      cdef const_char_ptr uttid
      cdef int score
      hyp = ps_get_hyp(self.ps, &score, &uttid)
      # No result
      if hyp == NULL:
            return None, None, 0
       
      return hyp, uttid, score
 
   
  def check(self):
        """
        This function will check the recognized string hyp
        for the keywords that will give in documentation for
        performing any specific task.
        """ 
        word=hyp.split()
        if(word[0]="Keyword")
If word[0]="Keyword" ,the corresponding function to perform that task will be called.Like in TurtleBlocks,if word[0]="Forward" then a function with word[1] as a parameter will be called and turtle will move forward by that units.
       
I read somewhere that Summer of Code is not about how much you know. It is about how quickly you can learn and how eager you are to contribute to your Open Source community.I have loved studying the Sugarlabs repository and learned a lot so far.


I feel it is important to start earlier on this project.You can track my progress at
                        https://github.com/bliss-sid/Voice-Interface
                        https://github.com/bliss-sid/Voice-Interface