You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any options to disable highlights annotations for existing kwic-objects to avoid that using the count method on already manually annotated kwic-objects will count highlighted terms with the existing tags included (e.g. <'span style="background-color:yellow">Arbeitsaufnahmeverbot</span'>)?
The text was updated successfully, but these errors were encountered:
I could avoid a subsequent problem, occurring when using the features-function i. a. on the resulting count-object to create a dot plot, by transforming the features-object to a data.frame before using the dplyr-function ‘mutate’ (e. g. > mutate(word = recode(word, "<span style="background-color:yellow">Arbeitsaufnahmeverbot" = "Arbeitsaufnahmeverbot")) to manually remove the unwanted annotations. However, this was only a convenient solution because I focused on 20 terms with the highest log-likelihood-rank and because of the fact that the other count-object has also been manipulated by the same annotation problem – else the same word would have been counted the first time with annotations and the second time without annotations.
The same request to have a counterpart for the enrich-function applies not only for the highlights annotations but also for annotations using structural attributes (e. g. dates). Planning to create a time series for the aforementioned kwic-object, deriving from ‘protocol_date’ as a structural attribute while also having ‘speaker_parlgroup’ as a further attribute, I had to create a separate data.table, integrating only ‘protocol_date’ as a column, instead of directly creating a data.frame by using the meta data of the kwic-object.
Thank you in advance for any hints and further advice!
Any options to disable highlights annotations for existing kwic-objects to avoid that using the count method on already manually annotated kwic-objects will count highlighted terms with the existing tags included (e.g. <'span style="background-color:yellow">Arbeitsaufnahmeverbot</span'>)?
The text was updated successfully, but these errors were encountered: