diff --git a/README.md b/README.md index 8f0bf5b..a5818b1 100644 --- a/README.md +++ b/README.md @@ -24,12 +24,13 @@ formats. $ tpro --help - Usage: tpro [OPTIONS] JSON_PATH_OR_DATA [amazon|gentle|speechmatics|google] - [universal_transcript|viral_overlay] + Usage: tpro [OPTIONS] TRANSCRIPT_DATA_PATH OUTPUT_PATH + [amazon|gentle|speechmatics|google] [universal|vo] Options: - -s, --save TEXT save to file - --help Show this message and exit. + -p, --print-output pretty print the transcript, breaks pipeability + --language-code TEXT specify language, defaults to en-US. + --help Show this message and exit. # STT Services @@ -50,7 +51,7 @@ formats. ## Planned +- Draft.js JSON - Word (`.doc`, `.docx`) - text files - SRT (subtitles) -- Draft.js JSON diff --git a/README_PYPI.md b/README_PYPI.md index 701df52..9d6cea8 100644 --- a/README_PYPI.md +++ b/README_PYPI.md @@ -22,18 +22,19 @@ formats. $ tpro --help - Usage: tpro [OPTIONS] JSON_PATH_OR_DATA [amazon|gentle|speechmatics|google] - [universal_transcript|viral_overlay] + Usage: tpro [OPTIONS] TRANSCRIPT_DATA_PATH OUTPUT_PATH + [amazon|gentle|speechmatics|google] [universal|vo] Options: - -s, --save TEXT save to file - --help Show this message and exit. + -p, --print-output pretty print the transcript, breaks pipeability + --language-code TEXT specify language, defaults to en-US. + --help Show this message and exit. ### Example - $ tpro '{ - - "job": { + $ cat transcript.json + + { "job": { "lang": "en", "user_id": 2152310, "name": "recording.mp4", @@ -64,7 +65,9 @@ formats. } ] - }' speechmatics universal_transcript + } + + $ tpro transcript.json converted_transcript.json speechmatics universal_transcript [ { @@ -87,7 +90,7 @@ formats. } ] - $ + ☝☝☝ There\'s your transcript, which was saved to converted_transcript.json. # STT Services diff --git a/setup.py b/setup.py index e1e745f..688e92c 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open('README_PYPI.md') as file: setup( name="tpro", - version="0.14", + version="0.15", url='https://github.com/zevaverbach/tpro', install_requires=[ 'Click',