{"id":40,"date":"2013-03-02T14:27:15","date_gmt":"2013-03-02T13:27:15","guid":{"rendered":"http:\/\/miroz.com.hr\/blog\/?p=40"},"modified":"2013-03-02T14:31:20","modified_gmt":"2013-03-02T13:31:20","slug":"learning-english-articles","status":"publish","type":"post","link":"https:\/\/miroz.com.hr\/blog\/projects\/learning-english-articles","title":{"rendered":"Learning English articles"},"content":{"rendered":"<p>It seems I just can&#8217;t learn English articles. If I take some random online test I&#8217;ll do pretty well. These tests usually take form of isolated sentences and as such they are pretty naive, easily gamed. But how do I know if I use articles right when I&#8217;m writing, like now. My helpful brother checked some of my writings and pointed out the mistakes, after which I was like &#8220;Oh, sure, I knew that rule, how did I missed it?&#8221; Since he can&#8217;t check everything I write in English, I wondered how to learn those damn articles better.<\/p>\n<p>There is nothing that could automatically check my texts, but I found another way. What if I take already proofread text, remove all articles and then try to insert my own and compare it to the original. That could work. So I went coding. And this is the result: <a title=\"learn-english-articles\" href=\"http:\/\/miroz.com.hr\/learn-english-articles\">learn-english-articles<\/a><\/p>\n<p>I implemented this scenario:<\/p>\n<ol>\n<li>Load a short text from Wikipedia.<\/li>\n<li>Application strips articles from the text.<\/li>\n<li>User fills the missing articles.<\/li>\n<li>Program displays comparison between original and user&#8217;s text.<\/li>\n<\/ol>\n<p>It took me some time to write the right algorithm to compare texts. It&#8217;s easy to just show the difference but I wanted more; I wanted to color code different errors (missing article, wrong article, surplus article) and calculate a score. I did it finally, so this is the first version: <a title=\"learn-english-articles\" href=\"http:\/\/miroz.com.hr\/learn-english-articles\">learn-english-articles<\/a><\/p>\n<p>So, that was my project February 2013, part of <a title=\"One project a month\" href=\"http:\/\/miroz.com.hr\/blog\/projects\/one-project-a-month\">One-project-a-month<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It seems I just can&#8217;t learn English articles. If I take some random online test I&#8217;ll do pretty well. These tests usually take form of isolated sentences and as such they are pretty naive, easily gamed. But how do I know if I use articles right when I&#8217;m writing, like now. My helpful brother checked [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[8,7],"_links":{"self":[{"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/posts\/40"}],"collection":[{"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":6,"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":46,"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/posts\/40\/revisions\/46"}],"wp:attachment":[{"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/miroz.com.hr\/blog\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}