News for hackers. Stuff that matters.
Re:Show HN: English syntax highlighter using part-of-speech ... by ipsum2 on Friday March 18, 2016 @04:05AM (#11310495)
Hi HN! This was inspired by the top comment from this thread: https://news.ycombinator.com/item?id=11294026

> It would be interesting to see the major parts of speech (nouns, verbs, adjectives) colored. Instead this is a coloring of fairly random words. A bunch of short words are grey, but they don't belong to any particular part of speech. They include some articles, prepositions, conjunctions and a few verbs...

Re:Show HN: English syntax highlighter using part-of-speech ... by photon_off on Friday March 18, 2016 @10:07AM (#11311855)
Could you please add a legend to indicate what the colors mean?
Re:Show HN: English syntax highlighter using part-of-speech ... by ipsum2 on Monday March 21, 2016 @01:18AM (#11326374)
Sorry for the slow response, I've implemented this already.
Re:Show HN: English syntax highlighter using part-of-speech ... by gyhchang on Friday March 18, 2016 @04:35AM (#11310566)
It would be nice if you put the color of the words in a separate key, rather than in the example box.
Re:Show HN: English syntax highlighter using part-of-speech ... by jjp on Friday March 18, 2016 @04:39AM (#11310573)
Actually put all the instructions outside of the example box. First pass I assumed everything in the box was just sample so I dived straight into typing and then didn't get any colours. Then I had to reload to find out I had to tab out.