User Tools

Site Tools


02_browsing:04_queries

This is an old revision of the document!


2.4 Queries

You can query the corpus for very different pieces of information such as messages written in the chats, part of speech annotations, demographic information like the age of the informant, or statistical information like the number of messages in a chat.

Please keep in mind that all the fields in the corpus are text fields.

The following three options for querying the corpus are described in more detail in the sub-sections of this document:

  • Simple queries: These are basically queries for words e.g. est or ich etc.
  • RegEx queries: These are used for more complex patterns such as alternatives (man and men), for patterns with different endings (Man and Manchester) etc.
  • Queries for meta data
  • Combined queries: These are used whenever you want information from different layers, e.g. the word man written by only females.

Please remember to always keep in mind the unit that you are querying. If you query in individual tokens, you do not have to consider separators such as spaces, punctuation, tabs etc. If, on the other hand, you work on a whole message, you have to take such things into account. You also have to remember that querying over whole messages is very slow and can lead to time outs.

02_browsing/04_queries.1587550686.txt.gz · Last modified: 2022/06/27 09:21 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki