User Tools

Site Tools


slopeq_for_bnc

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
slopeq_for_bnc [2015/07/13 15:33] – [Grammatical queries] gaszewskislopeq_for_bnc [2017/02/03 01:15] (current) – [Wild card and quantifiers] mmolenda
Line 5: Line 5:
 ===== Surface queries ===== ===== Surface queries =====
  
-This is the simplest type of queries. Words are written in the query box in their plain orthographic form. The results are occurrences of the particular forms submitted in the query. Compare the query and example results:+This is the simplest type of queries. Words are written in the query box in their plain orthographic form. The results are occurrences of the particular forms submitted in the query. Compare the query and the results:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/acknowledge/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|acknowledge]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/acknowledge/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|acknowledge]]
 ;#; ;#;
  
Line 21: Line 21:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/in%20vain/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|in vain]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/in%20vain/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|in vain]]
 ;#; ;#;
  
Line 40: Line 40:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Ddecide%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|<lemma=decide>]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Ddecide%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|<lemma=decide>]]
 ;#; ;#;
  
Line 55: Line 55:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dtake%3E%20advantage/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|<lemma=take> advantage]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dtake%3E%20advantage/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|<lemma=take> advantage]]
 ;#; ;#;
  
Line 74: Line 74:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/issue%7Cmatter/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|issue|matter]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/issue%7Cmatter/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|issue|matter]]
 ;#; ;#;
  
Line 87: Line 87:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dconsist%3E%7C%3Clemma%3Dcomprise%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|<lemma=consist>|<lemma=comprise>]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dconsist%3E%7C%3Clemma%3Dcomprise%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|<lemma=consist>|<lemma=comprise>]]
 ;#; ;#;
  
Line 104: Line 104:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/benefit%7Cprofit%7Cgain%20from/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|benefit|profit|gain from]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/benefit%7Cprofit%7Cgain%20from/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|benefit|profit|gain from]]
 ;#; ;#;
  
Line 119: Line 119:
 ==== Slop factor ==== ==== Slop factor ====
  
-This important functionality allows to search for a discontinuous string of words. The query specifies how many words may intervene between the terms of the query. The searched words are taken into round brackets and the allowed number of intervening words is given after the equation signe.g.:+This important functionality allows to search for a discontinuous string of words. The query specifies how many words may intervene between the terms of the query. The allowed number of intervening words is set with the slider located below the search box. In this Wikithe value of the Slop factor is indicated by the following expression: (Slop factor = 1,2,3... etc.). 
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/(adopt%20policy)%3D2/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|(adopt policy)=2]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/adopt%20policy/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/2/-1/-1/-1/-1/-1/-1|adopt policy (Slop factor = 2)]]
 ;#; ;#;
  
Line 137: Line 137:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/(wait%20in%7Con)%3D1/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|(wait in|on)=1]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/wait%20in%7Con/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/1/-1/-1/-1/-1/-1/-1|wait in|on (Slop factor = 1)]]
 ;#; ;#;
  
Line 151: Line 151:
 ==== Slop factor with relaxed order ==== ==== Slop factor with relaxed order ====
  
-These queries allow intervening words up to the specified number and the query terms may appear in any order. In the format of the query the tilde “~” is used instead of the sign of equation. +These queries allow intervening words up to the specified number and the query terms may appear in any order. This option is activated by unchecking the "order" box located next to the Slop factor slider ("order" unchecked).
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/(wrong%20approach)~2/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|(wrong approach)~2]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/wrong%20approach/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/false/2/-1/-1/-1/-1/-1/-1|wrong approach (Slop factor = 2) ("order" unchecked)]]
 ;#; ;#;
  
Line 164: Line 163:
 |5 |  What was|  wrong with that approach  | ? | |5 |  What was|  wrong with that approach  | ? |
  
-The relaxed order in pure form is available with the number 0, i.e. with no intervening words:+The relaxed order in pure form is available when the Slop factor is set to 0:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/(he%20would)~0/-1/0/1000/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|(he would)~0]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/he%20would/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/false/0/-1/-1/-1/-1/-1/-1|he would ("order" unchecked)]]
 ;#; ;#;
  
Line 180: Line 179:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/(%3Clemma%3Dabuse%3E%20%3Clemma%3Dright%3E)~1/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|(<lemma=abuse> <lemma=right>)~1]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dabuse%3E%20%3Clemma%3Dright%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/false/1/-1/-1/-1/-1/-1/-1|<lemma=abuse> <lemma=right> (Slop factor = 1) ("order" unchecked)]]
 ;#; ;#;
  
Line 197: Line 196:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dremain%3E%7C!remaining/-1/0/100/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|<lemma=remain>|!remaining]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dremain%3E%7C!remaining/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/false/1/-1/-1/-1/-1/-1/-1|<lemma=remain>|!remaining]]
 ;#; ;#;
  
Line 230: Line 229:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/develop.*/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|develop.*]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/develop.*/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|develop.*]]
 ;#; ;#;
  
Line 244: Line 243:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/develop.%2B/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|develop.+]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/develop.%2B/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|develop.+]]
 ;#; ;#;
  
Line 257: Line 256:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/d....e/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|d....e]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/d....e/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|d....e]]
 ;#; ;#;
  
Line 273: Line 272:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dpain.%2B%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|<lemma=pain.+>]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dpain.%2B%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|<lemma=pain.+>]]
 ;#; ;#;
  
Line 289: Line 288:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/vari.%2B%7C!variety/-1/0/500/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|vari.+|!variety]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/vari.%2B%7C!variety/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|vari.+|!variety]]
 ;#; ;#;
  
Line 312: Line 311:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Cpos%3DVVZ%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|<pos=VVZ>]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Cpos%3DVVZ%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|<pos=VVZ>]]
 ;#; ;#;
  
Line 327: Line 326:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/beautiful%20%3Cpos%3DN.%2B%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|beautiful <pos=N.+>]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/beautiful%20%3Cpos%3DN.%2B%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|beautiful <pos=N.+>]]
 ;#; ;#;
  
Line 342: Line 341:
  
 ;#; ;#;
-[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/(%3Clemma%3Dderive%3E%20%3Cpos%3DPRP%3E)%3D1/-1/0/500/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/-1/-1/-1/-1/-1/-1/-1|(<lemma=derive> <pos=PRP>)=1]]+[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dderive%3E%20%3Cpos%3DPRP%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/1/-1/-1/-1/-1/-1/-1|<lemma=derive> <pos=PRP> (Slop factor = 1)]]
 ;#; ;#;
  
Line 353: Line 352:
 |6 |  The model is|  derived by  | the processes of data analysis| |6 |  The model is|  derived by  | the processes of data analysis|
  
-It is also possible to apply base form query and grammatical query to a single term. The labels “lemma=” and “pos=” need to be taken in the same pair of brackets then.+It is also possible to apply base form query and grammatical query to a single term. The labels “lemma=” and “pos=” need to be taken in the same pair of brackets then. The following query yields occurrences of all forms of the verb //approach//, but not of the noun. 
 + 
 +;#; 
 +[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/%3Clemma%3Dapproach%20pos%3DV..%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|<lemma=approach pos=V..>]] 
 +;#; 
 + 
 +^  # ^  Left  ^ Match ^  Right  ^ 
 +|1 |  As they|  approach  | a grazing herd of , say , wildebeest , they spread out in line abreast and begin the stalk .| 
 +|2 |  she added : ‘ A customer is a customer , I|  approach  | them in all the same way .| 
 +|3 |  When The Art Newspaper|  approached  | the British Museum they pointed out that they do not possess the Altar of Cybele ,| 
 +|4 |  When CDC 's intention became clear , it was|  approached  | by a variety of potential partners , Ousley says , and ‘ came very close to changing ’ its decision| 
 +|5 |  We think now , as Christmas|  approaches  | , and that elusive fishkeeping present becomes top priority , is the perfect time to get the unbiased recommendations of our experts as to what they would buy , given the chance .| 
 + 
 +In general, it is possible to add the grammatical specification to any other kind of query term by writing it immediately after the term (without a space). Below we have a regex query for words ending in //-fish//, but they must be tagged as nouns. In this way we exclude adjectives like //selfish//
 + 
 +;#; 
 +[[http://pelcra.clarin-pl.eu/SlopeqBNC/#search/pl/.%2Bfish%3Cpos%3DN.*%3E/-1/0/20/-1/-1/-1/-1/-1/1000/NN.*/-1,1/4/true/0/-1/-1/-1/-1/-1/-1|.+fish<pos=N.*>]] 
 +;#; 
 + 
 +^  # ^  Left  ^ Match ^  Right  ^ 
 +|1 |  Experienced , mature|  Angelfish  | can fill two or three Amazon Sword leaves with eggs| 
 +|2 |  Over-exploitation has led to a collapse in numbers of|  bluefish  | tuna , swordfish and cod in the Atlantic .| 
 +|3 |  A popular aquarium fish , the range of the Redfin|  Butterflyfish  | stretches from the tropical Indo-Pacific to South Africa .| 
 +|4 |  We have a 10 gallon tank with an undergravel filter containing two common goldfish , one fancy|  goldfish  | and a Moor .| 
 +|5 |  Ian Lucas spots some new opportunities with mid-price|  catfish  | .| 
 +|6 |  Echinoderms , like|  starfish  | , urchins and sea-cucumbers can be found here .|
  
  
slopeq_for_bnc.1436794415.txt.gz · Last modified: 2015/07/13 15:33 by gaszewski