Skip to content

Commit 4209308

Browse files
author
Daniel Khashabi
authored
Merge pull request #683 from CogComp/danyaljj-patch-2
Update README.md
2 parents 911cd43 + 280a920 commit 4209308

File tree

1 file changed

+36
-4
lines changed

1 file changed

+36
-4
lines changed

ner/README.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ line, although there is the option to modify the confiruation during at runtime.
3636
The top level menu is as follows:
3737

3838
```bash
39-
1 - select input [<input file or directory>]
40-
2 - change output [<output file or directory>]
41-
3 - annotate <input file or directory>, storing <output file or directory>
39+
1 - select input [standard in]
40+
2 - change output [standard out]
41+
3 - annotate text entered from the command line, presenting results to the terminal.
4242
4 - show and modify configuration parameters.
4343
q - exit the application.
4444
Choose from above options:
@@ -55,7 +55,39 @@ To run this application run the runNER.sh bash script:
5555
```bash
5656
$ ./scripts/runNER.sh configFilename
5757
```
58-
This script requires the configuration file name.
58+
The configuration parameter is optional. If no config file is specified, default parameters are used.
59+
60+
#### Interactive mode
61+
In the afore mentoned menue, you can choose the interactive mode, where you can annotate a text entered from the command line, and get the results back to the terminal. Here is a sample output:
62+
63+
```
64+
./scripts/runNER.sh
65+
66+
[some logging here]
67+
68+
1 - select input [standard in]
69+
2 - change output [standard out]
70+
3 - annotate text entered from the command line, presenting results to the terminal.
71+
4 - show and modify configuration parameters.
72+
q - exit the application.
73+
Choose from above options:
74+
3
75+
Enter the text to process, or blank line to return to the menu.
76+
77+
[some logging here]
78+
79+
:
80+
Obama just landed in Urbana-Champaign, after his trip to Europe last week.
81+
-----------------
82+
Obama just landed in [LOC Urbana ] -[LOC Champaign ] , after his trip to [LOC Europe ] last week.
83+
:
84+
85+
Down below, bomb-sniffing dogs will patrol the trains and buses that are expected to take approximately 30,000 of the 80,000-plus spectators to Sunday's Super Bowl between the Denver Broncos and Seattle Seahawks.
86+
-----------------
87+
Down below, bomb-sniffing dogs will patrol the trains and buses that are expected to take approximately 30,000 of the 80,000-plus spectators to Sunday's [MISC Super Bowl ] between the [ORG Denver Broncos ] and [ORG Seattle Seahawks ] .
88+
:
89+
```
90+
5991
6092
### Java COMMAND LINE
6193

0 commit comments

Comments
 (0)