You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ner/README.md
+36-4Lines changed: 36 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,9 @@ line, although there is the option to modify the confiruation during at runtime.
36
36
The top level menu is as follows:
37
37
38
38
```bash
39
-
1 - selectinput [<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 - selectinput [standard in]
40
+
2 - change output [standard out]
41
+
3 - annotate text entered from the command line, presenting results to the terminal.
42
42
4 - show and modify configuration parameters.
43
43
q - exit the application.
44
44
Choose from above options:
@@ -55,7 +55,39 @@ To run this application run the runNER.sh bash script:
55
55
```bash
56
56
$ ./scripts/runNER.sh configFilename
57
57
```
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 - selectinput [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 ] .
0 commit comments