From 8d6ca80798491c68ca3c6c36d49d3bab0dfde6c1 Mon Sep 17 00:00:00 2001 From: tbeu Date: Sat, 9 Nov 2019 17:56:54 +0100 Subject: [PATCH] Fix import errors in documentation (#1) After restructuring the modules, also the documentation needs to be updated. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5a0d164..dc20967 100755 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ $ python dejavu.py --recognize file sometrack.wav or in scripting, assuming you've already instantiated a Dejavu object: ```python ->>> from dejavu.recognize import FileRecognizer +>>> from dejavu.logic.recognizer.file_recognizer import FileRecognizer >>> song = djv.recognize(FileRecognizer, "va_us_top_40/wav/Mirrors - Justin Timberlake.wav") ``` @@ -140,7 +140,7 @@ or in scripting, assuming you've already instantiated a Dejavu object: With scripting: ```python ->>> from dejavu.recognize import MicrophoneRecognizer +>>> from dejavu.logic.recognizer.microphone_recognizer import MicrophoneRecognizer >>> song = djv.recognize(MicrophoneRecognizer, seconds=10) # Defaults to 10 seconds. ```