English Syntax Highlighter

Hello!

This is a syntax highlighter for English. It uses natural language processing to determine the part of speech for each word and highlights accordingly. It works with tricky sentences too, e.g. The man we saw saw a saw.

To try it out, enter any text into the area to the left. Then, press tab or click outside of the text area in order to refresh the highlighting.

Toggle underline mode

Legend:

adverb
noun
adposition
determiner
interjection
particle
punctuation
verb
unknown
numbers
conjunction
adjective

Updates

2017/07/21 Underline mode instead of text colors, as suggested by the comments.

2016/09/09 You can now toggle the colors by clicking on the legend. Try it out!

Suggestions or comments? Send them over to helloedwardio@gmail.com.

Examples:

- adverbs
She sang loudly.

- nouns
The cat sat on the mat.

- adpositions
He went to the races.

- determiners
Can you pass me the salt please?

- interjections
Hello world!

- particles
He turned on the light.

- punctuation
Is anyone there?

- verbs
The fly flew away.

- numbers
One two pick up a shoe.

- conjunctions
Tis but a scratch.

- adjectives
What a beautiful big greyhound.

Alice in Wonderland:

There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself, 'Oh dear! Oh dear! I shall be late!' (when she thought it over afterwards, it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, Alice started to her feet, for it flashed across her mind that she had never before seen a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge.