nlp
nlp copied to clipboard
FR: Apply CSS class to punctuation when using `Highlight Parts of Speech` & `Highlight Sentences`
~
adding to this: adding a css class to every sentence as well would also be useful.
This would enable e.g. .Sentence:nth-child(even) to apply alternating highlighting etc.
Can you add a separate FR for the second comment. Both should be doable :)
Even more than parts of speech, highlight sentences could really profit from punctuation highlight. It would enable you to analyze sentence structures.
To work nicely, I'd suggest putting . and the other punctuations into different css classes (at least for highlight sentences), the dots are already positioned at the sentence border and might not need highlighting.