Sketch Engine
  • Login
  • Wiki
  • Timeline
  • View Tickets
  • New Ticket
  • Search
  • Settings

WSDefFiles: ws-www_es.txt

File ws-www_es.txt, 1.2 kB (added by jan, 1 year ago)

WS definitions for Spanish

Line 
1 #Grammatical Relation grasping for Spanish
2 *STRUCTLIMIT s
3 *DEFAULTATTR tag
4
5 *DUAL
6 =subject_np/subject_of
7 "ART" 2:"NC|NP" "ADJ|ADV|PREP|PDEL|N.*|ART"* "PPX.*"{0,2} 1:"V.fin"
8
9 *DUAL
10 =object/object_of
11 "V.fin"? 1:"VL.*" "ART"? "ADJ|ADV"{0,2} 2:"N.*"
12
13 #"V.fin"? 1:"VL.*" [lemma="a"] "ART"? "ADJ|ADV"{0,2} 2:"N.*"
14 #Direct objects in Spanish take the preposition 'a' when the N is animate (je!)
15 #But resutls of this query contain too much noise
16
17 =object_inf
18 "V.fin"? 1:"VL.*" 2:"VLinf"
19                
20 #some modal verbs are not properly identified and are included here. Anyway, maybe it's too noisy?
21
22 =object_clause
23 "V.fin"? 1:"VL.*" "CQUE" "ART"? "N.*"? 2:"V.fin"
24
25 #it works pretty nicely
26
27 =predicate
28 1:"VSfin" "ADV"? 2:"ADJ"
29 1:"VSfin" "ART"? "N."
30                        
31 #predicative complements of 'ser' clauses
32
33 =adj_complement
34 1:"VSfin" "ADV"? "ADJ" [lemma="de"] 2:"VLinf" 
35
36 *DUAL           
37 =n_modifier/modifies
38 1:"N." "ADV"? 2:"ADJ"
39 #like compounds
40 1:"N." [lemma="de"] 2:"N." 
41 #this is less certain
42 1:"N." [lemma="de"] "ART" 2:"N."
43                
44
45 *SYMMETRIC
46 =y_o
47 1:"NC" "ADJ|ADV"* [lemma="y|o"] "ART"? "ADJ|ADV"* 2:"NC"
48 1:"V.*" "ADJ|ADV"* [lemma="y|o"]"ADJ|ADV"* 2:"V.*"
49 1:"ADJ" [lemma="y|o"] "ADV"? 2:"ADJ"
50
51 #simple cases of coordination for NP's and VERB's

Download in other formats:

  • Original Format

Sketch Engine
Bringing Corpora to the Masses

Lexical Computing Ltd

Brought to you by
Lexical Computing Ltd