scalability4all / voice-enabled-chatbot

Implementing a voice enabled chatbot which converses with a user via their voice in natural language. Website: https://scalability4all.github.io/
MIT License
38 stars 52 forks source link

Basic runtime errors and text input issues #46

Open GargiVyas31 opened 4 years ago

GargiVyas31 commented 4 years ago

I found some issues in runtime as well as while giving some inputs.

  1. Error while working with pyttsx3 module.
  2. Getting "AttributeError: module 'urllib' has no attribute 'urlopen' " while working with python 3. urlopen is a function for python 2.7.
  3. Detected case insensitivity for text input. Only accepts "How are you?", does Wikipedia search for "how are you?" , "how are you." and other variants. The output should be "I am fine." for all the cases.

Desktop Ubuntu 18.04.4 LTS

satyammittal commented 4 years ago

Can you elaborate your issue with pyttsx3 module.

gurleen-kaur-30 commented 4 years ago

Hey! I was also getting an issue while installing pyttsx3. An error saying ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output was being displayed. Another error message saying PyObjC requires macOS to build comes sometimes. It seems like a dependency on pyobj packages was introduced for the Linux version of pyttx3 in the latest version, but pyobj packages can only be installed on Mac. A quick workaround is to downgrade and install an older version of pyttsx3 module. Version 2.71 seems to work fine. This issue is still open on pyttsx3 Github issues. Here's the link to the same https://github.com/nateshmbhat/pyttsx3/issues/101 Hope this helps.