OrigPosLemConcordancer¶
-
AQPython.Concordancers.
OrigPosLemConcordancer
(sentences, annots, textMnt, wordType='word', nrows=10)¶ Output HTML for the text (including lemma and pos tags) identified by the AQAnnotation (typically a sentence annotation).
Below the sentence (in successive rows) output the original terms, parts of speech, and lemma terms for the text identified by the AQAnnotation.
- Parameters
sentences – Sentence annotations that you would like to display.
annots – The Dataframe of AQAnnotations that will contain the the AQAnnotations (orig, lemma, pos) for the above sentences
textPath – Path for the str files. The sentence annotations must be for documents contained in these str files.
wordType – The annotType that identies the AQAnnotation in the above annotations.
nrows – Number of sentences to display
- Returns
HTML