#1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    12

    Speech Recognition in Python and Tkinter Text Undo/Redo


    Hi

    I found pyTTS yesterday and I thought about also having some type of voice recognition but I did not find any that could help me further.

    And here is the Redo/Undo problem with the Text widget:

    Code:
    def Undo(self):                     # Edit
            self.txt.edit_undo()
    
        def Redo(self):
            self.txt.edit_redo()
    why does it not work it never changes anything...
    Last edited by monkeyman23555; July 3rd, 2005 at 05:45 AM.
    Those people who think they know everything are a great annoyance to those of us who do.
  2. #2
  3. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    14
    Which part of your question did you want an answer on?

    Did you read the document string for edit_undo? How is your Text widget configured?

    grim
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    12
    If possible on both:P

    I meant that if you know a voice recognition thing please tell me about it?

    Ill read the doc now

    Which doc do u mean
    Last edited by monkeyman23555; July 3rd, 2005 at 08:09 AM.
    Those people who think they know everything are a great annoyance to those of us who do.
  6. #4
  7. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    14
    googling "python voice recognition" threw up this:
    http://surguy.net/articles/speechrecognition.xml
  8. #5
  9. Mini me.
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Location
    Cambridge, UK
    Posts
    783
    Rep Power
    14
    Originally Posted by monkeyman23555
    If possible on both:P
    Why do you stick out your tongue - don't you want help?
    Two questions unreleated should be two threads.

    Which doc do u mean
    Code:
    >>> from Tkinter import Text
    >>> print Text.edit_undo.__doc__
    Undoes the last edit action
    
            If the undo option is true. An edit action is defined
            as all the insert and delete commands that are recorded
            on the undo stack in between two separators. Generates
            an error when the undo stack is empty. Does nothing
            when the undo option is false
            
    >>>
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    12
    Hey This is to save space
    Those people who think they know everything are a great annoyance to those of us who do.

IMN logo majestic logo threadwatch logo seochat tools logo