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
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

View File

@@ -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

View File

@@ -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',