From ab7fab03194314fe1ac42a07ae42aab30f82e059 Mon Sep 17 00:00:00 2001 From: Sampath Kethineedi <30796835+sampathkethineedi@users.noreply.github.com> Date: Fri, 8 Mar 2019 17:06:01 +0530 Subject: [PATCH] update reamde --- README.md | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 125f1e5..54f4d0b 100644 --- a/README.md +++ b/README.md @@ -6,32 +6,20 @@ Process flow to generate labels on Text data using Snorkel and maintain DB to re Follow steps at https://github.com/HazyResearch/snorkel#installation to install Snorkel in environment ## Snorkel Process -**usage**: snorkel_process.py [-h] -p PATH -lf LF [-r] +**usage**: snorkel_process.py [-h] -n NAME -p PATH -lf LF [-r] -```python snorkel_process.py -p 'cnbc_doc.tsv' -lf 'labeling_func' -r``` +```python snorkel_process.py -n 'cnbc_test' -p 'cnbc_doc.tsv' -lf 'labeling_func' -r``` Run Snorkel process -optional arguments: +Arguments: -h, --help show this help message and exit + -n, --name NAME Name of the process + -p PATH, --path PATH Path to TSV file -lf LF, --label_func LF LF python file -r, --restart flag to restart process from beginning - -## DB process - -**usage**: db_process.py [-h] -n NAME - -```python db_process.py -n 'test_db_2'``` - -Run DB process - -optional arguments: - - -h, --help show this help message and exit - - -n NAME, --name NAME DB name