TAP Corpus: Difference between revisions
From HLT@INESC-ID
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
== Getting the corpus aligned == | == Getting the corpus aligned == | ||
Prerequisite: | Prerequisite: | ||
stanford coreNLP at <tt>tap/stanford-corenlp</tt> | stanford coreNLP at <tt>tap/stanford-corenlp</tt>; | ||
<tt>l2fstring</tt> available. | |||
Run: | Run: |
Revision as of 14:44, 29 November 2011
Getting the corpus
git clone ssh://ssh.l2f.inesc-id.pt/afs/l2f/home/filcab/git/tap.git
Assuming the pdfs are in "originals/UP*…"
(You can do the following commands to get the pdfs there.)
cd tap mkdir originals cd originals lndir /afs/l2f/corpora/up-magazine/originals
Getting the corpus aligned
Prerequisite: stanford coreNLP at tap/stanford-corenlp; l2fstring available.
Run:
./everything
If the pdfs are not at originals/, run: ./everything <directory>
Aligned sentences are stored in aligned/ Tagged corpus is at tagged/.
The aligned and tagged corpora are available at: /afs/l2f/home/filcab/tap-corpus