User Tools

Site Tools


cqp:extending-queries-combinations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
cqp:extending-queries-combinations [2024/06/20 13:53] – external edit 127.0.0.1cqp:extending-queries-combinations [2025/12/01 20:42] (current) – [Alternative values] astefanowitsch
Line 17: Line 17:
 Of course, we can also include alternatives in queries using other attributes, such as ''word'' or ''pos''. The following query finds all instances of the word forms //lovers// and //friends//: Of course, we can also include alternatives in queries using other attributes, such as ''word'' or ''pos''. The following query finds all instances of the word forms //lovers// and //friends//:
  
- [word="(lovers|fiends)"%c]+ [word="(lovers|friends)"%c]
  
 And the following query finds all words tagged either ''NN1'' (for “singular noun”) or ''NN2'' (for “plural noun”): And the following query finds all words tagged either ''NN1'' (for “singular noun”) or ''NN2'' (for “plural noun”):
cqp/extending-queries-combinations.txt · Last modified: by astefanowitsch

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki