User Tools

Site Tools


02_browsing:04_queries:04_combined

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
02_browsing:04_queries:04_combined [2022/01/06 15:06] Simone Ueberwasser02_browsing:04_queries:04_combined [2022/06/27 09:21] (current) – external edit 127.0.0.1
Line 17: Line 17:
   - In the third example we look for two tokens, one directly following the other. Here, we could use one of the normalisations, too, i.e. ''gloss''  or we could use the token. This choice depends on what we want to find. If we want to after the spelling //est-ce que// used by the informant, we query for ''tok=/.../''. If, on the other hand, we want to include unconventional spellings like //sno//, we have to use ''gloss=/.../''. Let us use the first option, which gives us the following query: ''pos="PRO:pers" & tok="sono" & #1 . #2'', which we can read as: a first token has to be a personal pronound and a second one has to be //sono//. The expression ''#1 . #2'' means the first token has to directly precede the second one.   - In the third example we look for two tokens, one directly following the other. Here, we could use one of the normalisations, too, i.e. ''gloss''  or we could use the token. This choice depends on what we want to find. If we want to after the spelling //est-ce que// used by the informant, we query for ''tok=/.../''. If, on the other hand, we want to include unconventional spellings like //sno//, we have to use ''gloss=/.../''. Let us use the first option, which gives us the following query: ''pos="PRO:pers" & tok="sono" & #1 . #2'', which we can read as: a first token has to be a personal pronound and a second one has to be //sono//. The expression ''#1 . #2'' means the first token has to directly precede the second one.
  
-That much for the examples. But how can you remember all of these options? You do not have to, since ANNIS offers you lots of [[02_browsing:04_queries:01_support|support in creation the queries]].+That much for the examples. But how can you remember all of these options? You do not have to, since ANNIS offers you lots of [[02_browsing:05_support|support in creation the queries]].
02_browsing/04_queries/04_combined.1641477988.txt.gz · Last modified: 2022/06/27 09:21 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki