Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
en:obc:spell3 [2020/02/19 12:04] – michalskrabal | en:obc:spell3 [2020/02/19 12:06] – michalskrabal | ||
---|---|---|---|
Line 11: | Line 11: | ||
In the previous lessons, you have worked with individual specific words. Searching using tags allows you to look at the given phenomena as it occurs across whole classes of words. | In the previous lessons, you have worked with individual specific words. Searching using tags allows you to look at the given phenomena as it occurs across whole classes of words. | ||
- | Let’s take a look at the contracted past tense and participle ending //‘d//. By examining the tagset, we can see that it distinguishes all different types of verbs; modal auxiliaries are tagged as VM, infinitive forms as VVI and so on. In the standard tagest, there is no specific tag for verbs in the forms we are looking for. The easiest way to find the past and past participle contracted forms would then be to search for all verbs that end in //‘d//. To do so, use [[https:// | + | Let’s take a look at the contracted past tense and participle ending //‘d//. By examining the tagset, we can see that it distinguishes all different types of verbs; modal auxiliaries are tagged as VM, infinitive forms as VVI and so on. In the standard tagest, there is no specific tag for verbs in the forms we are looking for. The easiest way to find the past and past participle contracted forms would then be to search for all verbs that end in //‘d//. To do so, use [[https:// |
Make sure the query type is set on CQL, you may also set the default attribute below the search window to //tag//, however it is not necessary. If you do so, the square brackets and the specified attribute can be left out in the query (i.e. you can type only ''" | Make sure the query type is set on CQL, you may also set the default attribute below the search window to //tag//, however it is not necessary. If you do so, the square brackets and the specified attribute can be left out in the query (i.e. you can type only ''" | ||
Line 17: | Line 17: | ||
'' | '' | ||
- | This query alone would find all verbs in the corpus, but what we need is to limit the search to only the verbs which end with //‘d//. For this, you can make use of the ampersand symbol (//&//) which represents the function of AND. When you connect two or more attributes with //&//, the resultant concordance will include only those occurrences which fulfil all the conditions specified in the query. The second part of the query is the //word// attribute; to look for any word which ends with //‘d//, we can use another regular expression. This time, we want to use the symbol + instead of *, since + represents one or more repetitions of the previous character; this way we avoid the possibility of only //‘d// appearing in the concordance. | + | This query alone would find all verbs in the corpus, but what we need is to limit the search to only the verbs which end with //‘d//. For this, you can make use of the ampersand symbol ('' |
'' | '' |