Word Sketch grammar (WSG) is a set of rules defining the grammatical relations (=columns/categories) in a Word Sketch. These relations list e.g. subjects, objects, modifiers, etc.

Universal Word Sketch grammar

Universal Word Sketch grammar is available in corpora for which no specific Word Sketch grammar was created. This grammar contains only a few relations depending on the order of words, e.g. words before the word you searched for or words just after the word you searched for.

This Universal word sketch grammar without part-of-speech relations provides only relations for words before and after search words.

#Universal Generic (Level 1) Sketch Grammar Version 1.0
#Copyright (c) Lexical Computing
#Initial version June 2016 (Vojta)

divert(-1)
define(`WORD',`[word="[^[:digit:][:punct:]].*"]')
divert


*FIXORDER ;words before "%w";words just before "%w";words just after "%w";words after "%w"
*STRUCTLIMIT s

*DUAL
=words before "%w"/words after "%w"
2:WORD []{0,3} 1:WORD

*DUAL
=words just before "%w"/words just after "%w"
2:WORD 1:WORD

List of text corpora

Sketch Engine offers hundreds of text corpora.

or