bumped version and added language_code support to READMEs

This commit is contained in:
2019-03-25 23:17:03 +01:00
parent 12006591fa
commit 5693f91a20
3 changed files with 19 additions and 15 deletions

View File

@@ -24,12 +24,13 @@ formats.
$ tpro --help $ tpro --help
Usage: tpro [OPTIONS] JSON_PATH_OR_DATA [amazon|gentle|speechmatics|google] Usage: tpro [OPTIONS] TRANSCRIPT_DATA_PATH OUTPUT_PATH
[universal_transcript|viral_overlay] [amazon|gentle|speechmatics|google] [universal|vo]
Options: Options:
-s, --save TEXT save to file -p, --print-output pretty print the transcript, breaks pipeability
--help Show this message and exit. --language-code TEXT specify language, defaults to en-US.
--help Show this message and exit.
# STT Services # STT Services
@@ -50,7 +51,7 @@ formats.
## Planned ## Planned
- Draft.js JSON
- Word (`.doc`, `.docx`) - Word (`.doc`, `.docx`)
- text files - text files
- SRT (subtitles) - SRT (subtitles)
- Draft.js JSON

View File

@@ -22,18 +22,19 @@ formats.
$ tpro --help $ tpro --help
Usage: tpro [OPTIONS] JSON_PATH_OR_DATA [amazon|gentle|speechmatics|google] Usage: tpro [OPTIONS] TRANSCRIPT_DATA_PATH OUTPUT_PATH
[universal_transcript|viral_overlay] [amazon|gentle|speechmatics|google] [universal|vo]
Options: Options:
-s, --save TEXT save to file -p, --print-output pretty print the transcript, breaks pipeability
--help Show this message and exit. --language-code TEXT specify language, defaults to en-US.
--help Show this message and exit.
### Example ### Example
$ tpro '{ $ cat transcript.json
"job": { { "job": {
"lang": "en", "lang": "en",
"user_id": 2152310, "user_id": 2152310,
"name": "recording.mp4", "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 # STT Services

View File

@@ -6,7 +6,7 @@ with open('README_PYPI.md') as file:
setup( setup(
name="tpro", name="tpro",
version="0.14", version="0.15",
url='https://github.com/zevaverbach/tpro', url='https://github.com/zevaverbach/tpro',
install_requires=[ install_requires=[
'Click', 'Click',