Skip to content

Commit b41c2d0

Browse files
committed
Merge branch 'npm'
2 parents 8ec26af + dffaa8b commit b41c2d0

File tree

2 files changed

+42
-4
lines changed

2 files changed

+42
-4
lines changed

README.md

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,51 @@ A modular annotation system that supports complex, interactive annotation graphs
1717

1818

1919
## Development
20-
TAG was developed by Angus Forbes (UC Santa Cruz) and Kristine Lee (University of Illinios at Chicago), in collaboration with Gustave Hahn-Powell, Marco Anto Valenzuela Escarcega, and Mihai Surdeanu (University of Arizona). Contact angus@ucsc.edu for more information.
20+
TAG was developed by Angus Forbes (UC Santa Cruz) and Kristine Lee (University of Illinios at Chicago), in collaboration with Gus Hahn-Powell, Marco Antonio Valenzuela Escárcega, and Mihai Surdeanu (University of Arizona). Contact angus@ucsc.edu for more information.
21+
22+
# Citing TAG
23+
24+
If you use TAG in your work, please use the following citation:
25+
26+
```
27+
@inproceedings{TAG-2018,
28+
author = {Angus Forbes and Kristine Lee and Gus Hahn-Powell and Marco A. Valenzuela-Escárcega and Mihai Surdeanu},
29+
title = {Text Annotation Graphs: Annotating Complex Natural Language Phenomena},
30+
booktitle = {Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC'18)},
31+
year = {2018},
32+
month = {May},
33+
date = {7-12},
34+
address = {Miyazaki, Japan},
35+
editor = {Sara Goggi and Hélène Mazo},
36+
publisher = {European Language Resources Association (ELRA)},
37+
language = {english}
38+
}
39+
```
2140

2241
## Write-up
23-
An article describing TAG is currently in submission to LREC'18. A pre-print can be found at [https://arxiv.org/abs/1711.00529](https://arxiv.org/abs/1711.00529)
42+
A paper describing TAG was accepted to [LREC'18](http://lrec2018.lrec-conf.org/en/conference-programme/accepted-papers/). A pre-print can be found at [https://arxiv.org/abs/1711.00529](https://arxiv.org/abs/1711.00529)
2443

44+
## Installation
2545

46+
TAG can be built and installed using [`npm`](https://docs.npmjs.com/getting-started/installing-node).
2647

48+
### Via `npm`
2749

50+
```
51+
npm install git+https://github.com/CreativeCodingLab/TextAnnotationGraphs.git
52+
```
2853

54+
## Development
55+
56+
Tasks are managed with [`npm` scripts](https://docs.npmjs.com/misc/scripts).
57+
58+
### Building the source
59+
Assuming you've cloned the repository, simply run `npm run all` to install dependencies and transpile the source to ES2015.
60+
61+
### Live monitoring of changes
62+
63+
For convience, you can monitor changes to the library's source (css + js) with the following `npm` task:
2964

65+
```
66+
npm run watch
67+
```

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@
4040
"dist:js:app": "cpy build/js/tag.min.js dist/tag/js/",
4141
"watch": "npm-run-all --parallel watch:css watch:js",
4242
"prewatch:css": "colors --white \" - \" --cyan \"Watching for updates to app.css. (Minified)\"",
43-
"watch:css": "onchange src/css/app.css -- cleancss -d -o dist/tag/css/tag.min.css src/css/app.css",
43+
"watch:css": "onchange src/css/main.css -- cleancss -d -o dist/tag/css/tag.min.css",
4444
"prewatch:js": "colors --white \" - \" --cyan \"Watching for updates to main.js. (Recompiled verbatim; run 'build' task for minification)\"",
45-
"watch:js": "watchify -g deamdify src/js/main.js -o dist/tag/js/tag.min.js -v"
45+
"watch:js": "watchify src/js/main.js -t -t [ babelify --presets [ es2015 ] ] --outfile dist/tag/js/tag.min.js -v"
4646
},
4747
"repository": {
4848
"type": "git",

0 commit comments

Comments
 (0)