This page describes how to use a sketch grammar in your corpus.

In order to develop a sketch grammar you need to:

  1. create a corpus with appropriate configuration template in Corpus Architect
  2. choose a preloaded sketch grammar or upload a new sketch grammar
  3. compile the corpus
  4. upload your sketch grammar (presumably repeatedly)

Some corpora can be used with preloaded configuration templates, others need custom configuration templates. Details are specified below.

Language Corpus Tagset Config. template
English ukWaC tagset TreeTagger for English
French frWaC tagset TreeTagger for French
German bigDeWaC tagset1 custom (see below)
Italian itWaC tagset TreeTagger for Italian
Slovene FidaPLUS tagset custom (see below)
Spanish Spanish Web Corpus tagset TreeTagger for Spanish

1 The German corpus is tagged with both the TreeTagger (4th column) and the RFTagger (2nd column). The link to the tagset reference of the former is provided. The tagset of the latter is much richer and should be more appropriate for developing a sketch grammar. It is completely undocumented, though. Hopefully, the meaning of the tags should not be too difficult to guess. Here is the full list of tags.

Custom configuration templates

German

Corpus attributes

word, tag, lempos, tt_tag

WPOSLIST

,adjective,ADJ.*,adposition,AP.*,adverb,ADV.*,conjunction,KO.*,determiner,(ART.*|PPOS.*),interjection,ITJ.*,noun,N.*,numeral,CARD.*,particle,PTK.*,

pronoun,P[DIPRWA].*,verb,V.*,full stop,\$.

LPOSLIST

,adjective,-j,adposition,-i,adverb,-r,conjunction,-c,noun,-n,numeral,-m,pronoun,-p,verb,-v

TAGSETDOC

http://www.cis.uni-muenchen.de/~schmid/tools/TreeTagger/

Slovene

Corpus attributes

word, tag, lempos

WPOSLIST

,samostalnik,S.*,glagol,G.*,pridevnik,P.*,prislov,R.*,zaimek,Z.*,predlog,D.*,veznik,V.*,členek,L.*,
medmet,M.*,števnik,K.*,okrajšava,O.*,neuvrščeno,N.*

LPOSLIST

,samostalnik,-s,glagol,-g,pridevnik,-p,prislov,-r,zaimek,-z,predlog,-d,veznik,-v,členek,-l,
medmet,-m,števnik,-k,okrajšava,-o,neuvrščeno,-n

TAGSETDOC

http://www.sketchengine.co.uk/slovene-tagset/