Gigaword: Difference between revisions

From English Grammar
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
tgrep2 is a program to search corpora that are in the format of the Penn Treebank. Here is an example of a sentence in this format:
tgrep2 is a program to search corpora that are in the format of the Penn Treebank. Here is an example of a sentence in this format:


<font size="2">
<nowiki>
<nowiki>
(ROOT (S (NP (NP (DT The)
(ROOT (S (NP (NP (DT The)
Line 34: Line 35:
         (. .)))
         (. .)))
</nowiki>
</nowiki>
<font size="3">
Gert

Revision as of 11:40, 29 January 2023

How to search the Gigaword corpus with tgrep2 at the University of Frankfurt

What is the Gigaword corpus?

https://catalog.ldc.upenn.edu/LDC2011T07

What is tgrep2?

tgrep2 is a program to search corpora that are in the format of the Penn Treebank. Here is an example of a sentence in this format:

(ROOT (S (NP (NP (DT The) (NN duo)) (, ,) (RRC (ADVP (RB together)) (PP (IN with) (NP (CD 11) (NNS accomplices)))) (, ,)) (VP (VBD raised) (NP (QP (JJR more) (IN than) (CD 4) (CD billion)) (NN yuan)) (PP (IN from) (NP (NNP April) (CD 2004))) (PP (TO to) (NP (NNP July) (CD 2008)))) (. .))) Gert