Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
sarcophagus:carcass:tutorials:advanced_2 [2012/06/02 18:12] – eros | sarcophagus:carcass:tutorials:advanced_2 [2012/06/04 16:10] – eros | ||
---|---|---|---|
Line 4: | Line 4: | ||
====== Carcass Advanced Tutorial - Part 2 ====== | ====== Carcass Advanced Tutorial - Part 2 ====== | ||
- | ==== Smart Query Editor ==== | + | ==== More on the Smart Query Editor ==== |
+ | Note also that the query you just submitted was added to the //Query history//, just like the simple query you submitted using the //Simple Query Editor//. | ||
+ | Now let's try a different query: | ||
+ | |||
+ | * first of all, reset the previous query by clicking on '' | ||
+ | |||
+ | \\ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | \\ | ||
+ | |||
+ | * then fill out the form like this: | ||
+ | * Position 1: in the //Lemma// box type '' | ||
+ | * Position 2: in the //Part of speech// drop-down list select '' | ||
+ | * Position 3: in the //Part of speech// drop-down list select '' | ||
+ | * click on '' | ||
+ | |||
+ | \\ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | \\ | ||
+ | |||
+ | This query returns all occurrences of the the verb " | ||
+ | |||
+ | \\ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | \\ | ||
+ | |||
+ | There might be errors in the results (e.g. sometimes the second word will not be a determiner or the third will not be a noun): they are due to inaccuracies in the pos-tagging of the corpus. This kind of errors are to be expected when dealing with automatically tagged corpora (such as the //UkWaC// corpus we are using in this tutorial). | ||
+ | |||
+ | Here again, sorting results by match could be useful. | ||
+ | |||
+ | ==== Optional positions ==== | ||
+ | |||
+ | In the smart query, it is also possible to specify that a particular position is optional. | ||
+ | |||
+ | For example, we could try to look for the same pattern as before (" | ||
+ | |||
+ | We will modify the query we just submitted by ticking the **position is optional** checkbox in //Position 2//. If you didn't modify anything after submitting the last query, all you have to do is tick the checkbox marked by the red arrow: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | \\ | ||
+ | |||
+ | This query will return concordances like "apply makeup" | ||
+ | |||
+ | If we were interested in finding out what you can do with a " | ||
+ | |||
+ | * click on '' | ||
+ | * Position 1: in the //Part of speech// drop-down menu select '' | ||
+ | * Position 2: tick che //position is optional// checkbox and then select '' | ||
+ | * Position 3: in the //Lemma// box type '' | ||
+ | |||
+ | **N.B.**: this query will probably take more than a few seconds to complete. | ||
+ | |||
+ | \\ | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | \\ | ||
+ | |||
+ | The query will return concordances like "made proposals", | ||
+ | |||
+ | In the [[sarcophagus: | ||
======= ======= | ======= ======= |