opencog/relex — pull request #112 by ceefour (2014-07-11 07:21:39+00:00)
Title: Maven configuration to generate cross-platform (Linux, OS X, and Windows) shell scripts

```
ceefour@hendy:~/git/relex/target/relex/bin > ll
total 64
-rwxr-xr-x 1 ceefour ceefour 6549 Jul 11 02:30 relexd*
-rw-r--r-- 1 ceefour ceefour 6060 Jul 11 02:30 relexd.bat
-rwxr-xr-x 1 ceefour ceefour 6573 Jul 11 02:30 relexd-link*
-rw-r--r-- 1 ceefour ceefour 6084 Jul 11 02:30 relexd-link.bat
-rwxr-xr-x 1 ceefour ceefour 6563 Jul 11 02:30 relexd-logic*
-rw-r--r-- 1 ceefour ceefour 6074 Jul 11 02:30 relexd-logic.bat
-rwxr-xr-x 1 ceefour ceefour 6574 Jul 11 02:30 relexd-relex*
-rw-r--r-- 1 ceefour ceefour 6085 Jul 11 02:30 relexd-relex.bat
```

Shortcuts are provided. All scripts accept additional arguments to be passed to `relex.Server`:

1. `relexd`: `java relex.Server ...`
2. `relexd-relex`: `java relex.Server --relex --anaphora ...`
3. `relexd-link`: `java relex.Server --link --relex --anaphora --verbose ...`
4. `relexd-logic`: `java relex.Server --logic ...`

Example:

```
> bin/relexd-logic
Info: Version: relex-1.5.1
Info: Using default ./data/wordnet/file_properties.xml
02:38:46.356 [main] INFO n.didion.jwnl.dictionary.Dictionary - Installing dictionary net.didion.jwnl.dictionary.FileBackedDictionary@39aeed2f
Info: Link grammar output on.
Info: Relex2Logic ouptut on
Loaded 31 ReLex2Logic rule(s) succesfully.
Info: RelEx output on.
Info: Listening on port 4444
Info: Waiting for socket connection
```