AplikaceAplikace
Nastavení

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
en:manualy:kontext:konkordance [2023/07/10 17:51] lukesen:manualy:kontext:konkordance [2024/11/05 11:49] (current) – [Navigation with concordance editing sequence] michalskrabal
Line 15: Line 15:
 \\ \\
 \\ \\
-The text of the link in the **Query** item always shows a simplified representation of the query entered by the user, followed by the number of occurrences in parentheses. The query can be displayed (including the selected corpus and all conditions) and edited using the link, i.e. its parameters can be changed directly above the search results (without the need to enter a new query). This feature is especially useful if you want to refine or update the original query. When editing a query, you must also decide whether the following operations should be performed on the concordance. These include a useful shuffle option (this can be run manually from the menu **Concordance → Shuffle** or set as default in the menu **View → General view options**, see below for details), so it is usually a good idea to leave the option **Perform automatically also subsequent operations** checked.+The text of the link in the **Query** item always shows a simplified representation of the query entered by the user, followed by the number of occurrences in parentheses. The query can be displayed and edited using the link, i.e. its parameters can be changed directly above the search results (without the need to enter a new query). This feature is especially useful if you want to refine or update the original query. When editing a query, you must also decide whether the following operations should be performed on the concordance. These include a useful shuffle option (this can be switched on directly in the query form or run later from the menu **Concordance → Shuffle**), so it is usually a good idea to leave the option **Perform automatically also subsequent operations** checked.
  
 The subsequent navigation items represent the steps in the edit sequence that change the form and extent of the concordance. These can be manipulated in a similar way as the initial query.  The subsequent navigation items represent the steps in the edit sequence that change the form and extent of the concordance. These can be manipulated in a similar way as the initial query. 
Line 92: Line 92:
 ==== Shuffle ==== ==== Shuffle ====
    
-In the default settings, the concordance is ordered according to the order in which the search results (individual concordance lines) are found in the corpus (e.g. in the corpus [[en:cnk:syn2015|SYN2015]] the first texts are fiction, then non-fiction and finally journalistic). This has the advantage of quickly displaying the first page of results, while more matches are being retrieved in the background. Nonetheless, if the concordance is extensive, and one needs to acquire a representative sample (e.g. for manual analysis), it is preferable to work with randomly shuffled lines. This can be done with the **Concordance → Shuffle** option. The resulting shuffle of the concordance lines is random yet repeatable.+In the default settings, the concordance is ordered according to the order in which the search results (individual concordance lines) are found in the corpus (e.g. in the corpus [[en:cnk:syn2015|SYN2015]] the first texts are fiction, then non-fiction and finally journalistic). This has the advantage of quickly displaying the first page of results, while more matches are being retrieved in the background. Nonetheless, if the concordance is extensive, and one needs to acquire a representative sample (e.g. for manual analysis), it is preferable to work with randomly shuffled lines. The resulting shuffle of the concordance lines is random yet repeatable.
  
-Using the Shuffle option by default is recommended, as it ensures that every concordance, before being displayed, is randomized in this way. The permanent setting of concordance line shuffling is achievable in the **View → General view options** menu (the //Shuffle concordance lines by default// option). Such an approach functions as an effective prevention against drawing incorrect conclusions from studying a sample of results which originate from an unrepresentative set of texts. +Shuffling the concordance lines can be achieved in two ways:
  
-If concordance line shuffling is enabled by default, clicking on Shuffle will perform another random re-arrangement. For each concordance, a reproducible shuffling algorithm causes the results after the first, second, third... nth shuffle to match on repeated attempts with the same query. This guarantees the repeatability of experiments on corpora even when using a shuffled concordance. +  - Before starting the search, by selecting the **Shuffle concordance lines** option on the **Query → Concordance** page directly in the search form next to the **Search** button. 
 +  - After evaluating the query, by selecting **Concordance → Shuffle**. 
 + 
 +Using the Shuffle option by default is recommendedas it ensures that every concordance, before being displayed, is randomized in this way. (After the first switch, the option remains activated for the following queries.) Such an approach functions as an effective prevention against drawing incorrect conclusions from studying a sample of results which originate from an unrepresentative set of texts.  
 + 
 +<wrap lo>Note: It is recommended to disable this option only temporarily in cases where a large concordance is expected, typically when searching for a frequent phenomenon in a corpus of billions of tokens. Particularly for these larger results, one should consider that turning on shuffling the lines can significantly increase the time spent waiting for the concordance to be displayed.</wrap> 
 + 
 +If the concordance lines have already been shuffled, the **Concordance → Shuffle** option will perform another random rearrangement. For each concordance, a reproducible shuffling algorithm causes the results after the first, second, third... n-th shuffle to match on repeated attempts with the same query. This guarantees the repeatability of experiments on corpora even when using a shuffled concordance. 
  
 ==== Sample==== ==== Sample====