News for hackers. Stuff that matters.
Re:Show HN: English syntax highlighter using part-of-speech ... by peterburkimsher on Friday March 18, 2016 @04:55AM (#11310617)
That's beautiful! I wish that someone could make that for Chinese. I'm trying to learn Chinese now, and I think it would be easier in colour.

Also, is there a way to run this script on a large collection of text files? Specifically, the Bible. I'd be curious to split out all the names/places/etc.

Re:Show HN: English syntax highlighter using part-of-speech ... by jerf on Friday March 18, 2016 @10:03AM (#11311827)
One of the things that machine learning teaches us is that the cycle between running a test on the environment and getting feedback is critical. One of the major problems with the school system is how often the feedback loop is "take test Tuesday, teacher grades it Thursday night, student gets it back on Monday". This is useful for assessment but useless for learning.

Math is an example of where this should be used so very, very much more. Why is my first grader turning in tests covering addition when a computer can literally spit back whether it is right or wrong in a fraction of a second? The learning rate is immensely better at that speed.

And this is fantastic example of how that sort of thing could be applied to parts-of-speech learning, in real sentences rather than just an artificial "show word -> demand part of speech" test style. It's the part-of-speech equivalent of the red wavy line under misspelled words, which is also a far better way to teach spelling than any number of "spelling test Tuesday returned to student Thursday" ever could be.

Re:Show HN: English syntax highlighter using part-of-speech ... by stared on Friday March 18, 2016 @04:23PM (#11314643)
It's why I like computer games.

It's why I learn programming languages way faster than real languages.

Re:Show HN: English syntax highlighter using part-of-speech ... by wodenokoto on Friday March 18, 2016 @05:38AM (#11310722)
There are actually a lot of people who color code Chinese according to tones.
Re:Show HN: English syntax highlighter using part-of-speech ... by gbraad on Friday March 18, 2016 @10:39AM (#11312067)
This is possible and is done using pinyin. The tone of the character can be highlighted in a different colour, such as CCEDICT and/or Pleco does. I have worked on this before, but the sandhi and polyphonic characters kinda complicates it a little.
Re:Show HN: English syntax highlighter using part-of-speech ... by cabalamat on Friday March 18, 2016 @06:06AM (#11310812)
I imagine people learning Latin might find it useful as well. And have a mouseover for conjugation / declension.
Re:Show HN: English syntax highlighter using part-of-speech ... by milesokeefe on Friday March 18, 2016 @03:32PM (#11314268)
Re:Show HN: English syntax highlighter using part-of-speech ... by cgm616 on Friday March 18, 2016 @08:37AM (#11311326)
I can really see this being useful for any language.