more README
This commit is contained in:
37
README.md
37
README.md
@@ -4,6 +4,31 @@ Transcript Processing! `tpro` takes JSON-formatted transcripts produced by
|
||||
various speech-to-text services and converts them to various standardized
|
||||
formats.
|
||||
|
||||
# Installation and Usage
|
||||
|
||||
## Non-pip Requirement: Stanford NER JAR
|
||||
|
||||
- download and unzip [this](https://nlp.stanford.edu/software/stanford-ner-2018-10-16.zip)
|
||||
- put these files in in /usr/local/bin/:
|
||||
- stanford-ner.jar
|
||||
- classifiers/english.all.3class.distsim.crf.ser.gz
|
||||
- you might have to [update Java](https://askubuntu.com/questions/508546/howto-upgrade-java-on-ubuntu-14-04-lts) on Linux
|
||||
|
||||
## Pip
|
||||
|
||||
$ pip install tpro
|
||||
|
||||
## Usage
|
||||
|
||||
$ tpro --help
|
||||
|
||||
Usage: tpro [OPTIONS] JSON_PATH_OR_DATA [amazon|gentle|speechmatics]
|
||||
[universal_transcript|viral_overlay]
|
||||
|
||||
Options:
|
||||
-s, --save TEXT save to file
|
||||
--help Show this message and exit.
|
||||
|
||||
# STT Services
|
||||
|
||||
- [Speechmatics](https://www.speechmatics.com/)
|
||||
@@ -26,15 +51,3 @@ formats.
|
||||
- Word (`.doc`, `.docx`)
|
||||
- text files
|
||||
- SRT (subtitles)
|
||||
|
||||
# Installation
|
||||
|
||||
pip install tpro
|
||||
|
||||
## Non-pip Requirement: Stanford NER JAR
|
||||
|
||||
- download and unzip [this](https://nlp.stanford.edu/software/stanford-ner-2018-10-16.zip)
|
||||
- put these files in in /usr/local/bin/:
|
||||
- stanford-ner.jar
|
||||
- classifiers/english.all.3class.distsim.crf.ser.gz
|
||||
- on Ubuntu you might have to [update Java](https://askubuntu.com/questions/508546/howto-upgrade-java-on-ubuntu-14-04-lts)
|
||||
|
||||
2
setup.py
2
setup.py
@@ -6,7 +6,7 @@ with open('README.md') as file:
|
||||
|
||||
setup(
|
||||
name="tpro",
|
||||
version="0.01",
|
||||
version="0.02",
|
||||
url='https://github.com/zevaverbach/tpro',
|
||||
install_requires=[
|
||||
'Click',
|
||||
|
||||
@@ -11,7 +11,7 @@ output_choices = [k for k, v in
|
||||
if callable(v)]
|
||||
|
||||
@click.command()
|
||||
@click.option('-s', '--save', type=str, help='save to file')
|
||||
@click.option('-s', '--save', type=str, help='save to JSON file')
|
||||
@click.argument('json_path_or_data', type=str)
|
||||
@click.argument('input_format', type=click.Choice(services.keys()))
|
||||
@click.argument('output_format', type=click.Choice(output_choices))
|
||||
|
||||
Reference in New Issue
Block a user