| 1 |
# Apertium Anaphora Resolution |
| 2 |
|
| 3 |
[](https://travis-ci.com/apertium/apertium-anaphora) |
| 4 |
|
| 5 |
### Documentation |
| 6 |
https://wiki.apertium.org/wiki/Anaphora_Resolution_Module |
| 7 |
|
| 8 |
### How to Run |
| 9 |
- `./autogen.sh [--prefix=/path/to/your/prefix]` |
| 10 |
- `make` |
| 11 |
- `sudo make install` |
| 12 |
- Usage: `apertium-anaphora [-z] apertium-xxx-yyy.xxx-yyy.arx [input [output]]` |
| 13 |
|
| 14 |
- Usage in Pipeline: |
| 15 |
`apertium-deshtml < input.txt | lt-proc spa-eng.automorf.bin | apertium-tagger -g $2 spa-eng.prob | apertium-pretransfer | lt-proc -b spa-eng.autobil.bin | lrx-proc -m spa-eng.autolex.bin | apertium-anaphora apertium-eng-spa.spa-eng.arx | apertium-transfer -b apertium-eng-spa.spa-eng.t1x spa-eng.t1x.bin | apertium-interchunk apertium-eng-spa.spa-eng.t2x spa-eng.t2x.bin | apertium-postchunk apertium-eng-spa.spa-eng.t3x spa-eng.t3x.bin | lt-proc -g spa-eng.autogen.bin | lt-proc -p spa-eng.autopgen.bin | apertium-retxt` |
| 16 |
|
| 17 |
### Flags |
| 18 |
- -z / --null-flush: Null Flush |
| 19 |
- -h / --help: Help |
| 20 |
- -d / --debug: Debug Mode |
| 21 |
|
| 22 |
### Files |
| 23 |
- `src/`: C++ Code for Anaphora Module |
| 24 |
|
| 25 |
### Licensing |
| 26 |
This package is licensed under the [GNU General Public License](https://www.gnu.org/licenses/licenses.html#GPL) as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. |
| 27 |
|
| 28 |
If it becomes necessary, we are open to dual-licensing the package under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). |
| 29 |
|
| 30 |
### Acknowledgements |
| 31 |
|
| 32 |
Google Summer of Code 2019 |