02_browsing:04_queries:03_regex
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
02_browsing:04_queries:02_regex [2020/04/17 21:14] – [Alternatives] simone | 02_browsing:04_queries:03_regex [2020/04/21 11:24] – ↷ Page name changed from 02_browsing:04_queries:02_regex to 02_browsing:04_queries:03_regex simone | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Regular Expressions ====== | + | ====== |
In order to search for spelling variants, different forms of a lemma or else, you need to formulate RegEx expressions in ANNIS. For this, you put your query in between slashes. | In order to search for spelling variants, different forms of a lemma or else, you need to formulate RegEx expressions in ANNIS. For this, you put your query in between slashes. | ||
Line 141: | Line 141: | ||
Accordingly, | Accordingly, | ||
- | If you query for //man// on the message level, you will find nothing, because ANNIS will search for a whole message that contains only these three characters. In order to actually find the word you are looking for, you have to query for "any characters followed by the string //man// followed by any characters" | + | If you query for //man// on the message level, you will find nothing, because ANNIS will search for a whole message that contains only these three characters. In order to actually find the word you are looking for, you have to query for "any characters |
- | '' | + | '' |
and will find //man// but also // | and will find //man// but also // | ||
Line 183: | Line 183: | ||
==== A final word==== | ==== A final word==== | ||
- | What you have read here, is only a selection of the possibilities RegEx offers. To keep things more or less simple for you, we tried to document all the features you are likely to use while omitting everything you probably will not care about. Also, there are different implementations of RegEx in different programs and they support different features | + | What you have read here is only a selection |
02_browsing/04_queries/03_regex.txt · Last modified: 2022/06/27 09:21 by 127.0.0.1