getCOSMAS.Rd
Function for reading in concordances created with the search interface of the Institute for the German Language (IDS), COSMAS II, as data frames.
getCOSMAS(filename, merge = FALSE, years = FALSE, ...)
filename | Path to the COSMAS II output file. |
---|---|
merge | If matches consist of more than one word (e.g. if you searched for something like "the X-er the Y-er" or "the ADJ person" rather than just for e.g. "word"), should they be merged in one column? |
years | Set to TRUE if you exported "Jahresansicht" or "Jahrzehntansicht". Set to FALSE (the default) if you exported an unsorted concordance (which is COSMAS II's default setting). The concordances package currently only supports unsorted concordances, "Jahresansicht", and "Jahrzehntansicht". |
... | arguments passed on from other methods |
A KWIC data frame.