Concordancer¶
-
AQPython.Concordancers.
Concordancer
(results, textMnt, nrows=10, offset=0, highlightAnnotations=None)¶ Output HTML for the text identified by the AQAnnotation and highlight in ‘red’ the text that was ignored (excluded).
- Parameters
results – Dataframe of AQAnnotations that you would like to display.
textPath – Path for the str files. The annotations in results must be for documents contained in these str files.
nrows – Number of results to display
offset – Number of characters before/after each annotation in results to display
highlightAnnotations – Dataframe of AQAnnotations that you would like to highlight in the results
- Returns
HTML