sarcophagus:carcass:tutorials:advanced_1

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
sarcophagus:carcass:tutorials:advanced_1 [2012/06/02 13:44] erossarcophagus:carcass:tutorials:advanced_1 [2012/06/05 10:46] eros
Line 7: Line 7:
 Welcome to the Carcass Advanced tutorial! Welcome to the Carcass Advanced tutorial!
  
-==== Introduction ====+==== Prerequisites ====
  
 This guide assumes you already completed the basic tutorial. If you haven't done it already, we recommend you complete it and then come back here. This guide assumes you already completed the basic tutorial. If you haven't done it already, we recommend you complete it and then come back here.
Line 13: Line 13:
 [[sarcophagus:carcass:tutorials:basic_1|Click here to open the basic tutorial]]. [[sarcophagus:carcass:tutorials:basic_1|Click here to open the basic tutorial]].
  
-==== The Smart query editor ====+==== Introduction ====
  
-In this section you'll learn how to use the //Smart Query Editor//a special editor that allows you to compose queries that exploit corpus annotation (things like part-of-speed and lemma). +To begin this tutorial, follow these steps:
- +
-To open the Smart Query Editor follow these steps:+
  
   * start Carcass and connect to the server   * start Carcass and connect to the server
Line 23: Line 21:
   * click on //UkWaC 1//   * click on //UkWaC 1//
  
-At this point the three main query editors (**Simple**, **Smart** and **Expert**) will be open.+==== Using the asterisk ====
  
-Select the **Smart query editor**.+Let's say you want to look for words that begin with "under" (such as "under", "underneath", "understand", etc.)
  
-{{ :sarcophagus:carcass:tutorials:advanced:010_select_smart_editor.png?950 }}+You can easily do this in Carcass using the asterisk.((the correct term for this is actually "Kleene star operator", but we'll just call it asterisk to keep things simple)) 
 + 
 +Type this query in the //Simple Query// box and click on //Submit//: 
 + 
 +<file> 
 +under* 
 +</file> 
 + 
 +The query will return results like "under", "underpinning", "underside" etc. 
 + 
 +**N.B.**: this simplified use of the asterisk only applies to the //Simple Query Editor//, the //Smart// and //Expert// query editors use a slightly different syntax. This may change in the future. 
 + 
 +==== The Smart Query Editor ==== 
 + 
 +In this section you'll learn how to use the //Smart Query Editor//, a special editor that allows you to compose queries which exploit corpus annotation (things like [[wp>part-of-speech]] tags and [[wp>lemma (morphology)|lemma]]). 
 + 
 +Select the **Smart Query** Editor. 
 + 
 +{{ :sarcophagus:carcass:tutorials:advanced:010_select_smart_editor.png?950&nolink }}
  
 The //Smart query editor// will open. If your computer has a small screen it may look like this: The //Smart query editor// will open. If your computer has a small screen it may look like this:
  
-{{ :sarcophagus:carcass:tutorials:advanced:020_resize_editor.png?950 }}+{{ :sarcophagus:carcass:tutorials:advanced:020_resize_editor.png?950&nolink }}
  
-You may want to maximise the application window at this point. Remember also that you can drag the separators to redistribute the space in the application (see the [[sarcophagus:carcass:tutorials:basic_5#resizing_panels|basic tutorial]] for more info on this.+You may want to maximise the application window at this point. Remember also that you can drag the separators to redistribute the space in the application (see the [[sarcophagus:carcass:tutorials:basic_5#resizing_panels|basic tutorial]] for more info on this).
  
 The application should look more or less like this at this point (you should be able to see all the elements in the Smart Query Editor): The application should look more or less like this at this point (you should be able to see all the elements in the Smart Query Editor):
  
-{{ :sarcophagus:carcass:tutorials:advanced:030_positions.png?950 }}+{{ :sarcophagus:carcass:tutorials:advanced:030_positions.png?950&nolink }}
  
-The smart editor contains three //Position descriptors//, each of these represents the constraint you want to put on a token in your query. You don't need to use all three positions in your query, nor do you need to use all the options offered by the editor.+The smart editor contains three //Position descriptors//, each of these represents the constraint you want to put on a word in your query. You don't need to use all three positions in your query, nor do you need to use all the options offered by the editor (more on this later).
  
-For instance, let's say that you want to look for examples of the use of the verb "apply" (in all its inflected forms) in the UkWaC corpus.+For instance, let's say that you want to look for examples of use of the verb "apply" (in all its inflected forms) in the UkWaC corpus.
  
-In the //lemma// box of position 1 type:+In the //Lemma// box of //Position 1// type:
  
 <file> <file>
Line 51: Line 67:
 leave everything else untouched and click on //Submit//. leave everything else untouched and click on //Submit//.
  
-{{ :sarcophagus:carcass:tutorials:advanced:040_smart_query_1.png?950 }}+{{ :sarcophagus:carcass:tutorials:advanced:040_smart_query_1.png?950&nolink }} 
 + 
 +\\ 
 + 
 +In a few seconds the results will appear and you'll notice that they also include inflected forms of the verb "apply" (i.e. "applying", "applied", "applies", etc.) 
 + 
 +{{ :sarcophagus:carcass:tutorials:advanced:050_query_1_results.png?950&nolink }} 
 + 
 +In the [[sarcophagus:carcass:tutorials:advanced_2|next part]] of the tutorial you'll learn more about the //Smart Query Editor//.
  
 ====== ====== ====== ======
 ---- ----
 [[sarcophagus:carcass:tutorials:advanced_2|{{ :buttons:next.png|Next page}}]] [[sarcophagus:carcass:tutorials:advanced_2|{{ :buttons:next.png|Next page}}]]