<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by David Haase on Medium]]></title>
        <description><![CDATA[Stories by David Haase on Medium]]></description>
        <link>https://medium.com/@davidhenryhaase?source=rss-e0e4ea66fe7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by David Haase on Medium</title>
            <link>https://medium.com/@davidhenryhaase?source=rss-e0e4ea66fe7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 14:04:59 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@davidhenryhaase/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Bag o’ Words Experiment]]></title>
            <link>https://medium.com/@davidhenryhaase/bag-o-words-experiment-2326565c77f8?source=rss-e0e4ea66fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2326565c77f8</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[David Haase]]></dc:creator>
            <pubDate>Wed, 05 Jun 2019 17:01:19 GMT</pubDate>
            <atom:updated>2019-06-05T17:01:19.914Z</atom:updated>
            <content:encoded><![CDATA[<p>I created a small coding experiment in Python to see if I can find semantic similarities between documents using basic <em>bag-o’-words</em> strategies, a.k.a, unstructured, word counts. My attempt here is not particularly sophisticated, but I wanted a hands-on experiment to get me up to speed on some of the basics of non-structured semantic analysis that the <em>bag-o’-words</em> framework provides. I am hoping to prepare myself psychologically before my Data Science bootcamp soon embarks on much more advanced sophisticated NLP frameworks offered in modules such as the <strong>sklearn</strong> and <strong>gensim</strong> packages in Python.</p><blockquote>As you will see, most of the actual outcomes of my comparison experiments are mixed, bordering on failure, but…</blockquote><p>Obviously disappointing, but again this was meant to be more for practice than actual results. The key points of vulnerability seem to be my understanding of the algorithms for <strong><em>vector space</em></strong> which I tried to pattern after <em>Foundations of Statistical Natural Language Processing </em>[Manning and Schütze, 1999]. However, other points of vulnerability could be more banal like processing the text, and even my panda manipulation in Python.</p><p>Nevertheless, I am pleased overall as its main purpose was to set myself up with the underlying groundwork for understanding bag-of-words analyses. Hopefully, I can revisit those algorithms (and pandas) with more understanding as I advance in the program.</p><h3>Semantic Ambiguity</h3><p>Consider the following bag of three terms: hit, john and mary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*QTp7rO36JL6_Z3WVKakEDw.png" /></figure><p>Word-order is extremely powerful in English so there is a huge instinct to put order to these words. But for now, try to consider the three terms utterly independently and realize that there are some ambiguities with regard to who might be a victim and who might be the abuser if all we have to go on is the bag o’ words.</p><h4>Underlying Structures: Syntax and Morphology</h4><p>But in natural language there are dozens of techniques we implement to disambiguate meaning. Context, non-verbal cues, intonation, and so on. But we also appeal to underlying structures of English, our syntax (and intonation) which can help disambiguate very easily.</p><p>Consider the three unambiguous utterances using those terms.</p><blockquote>John hit Mary [syntax]</blockquote><blockquote>Mary hit John [syntax]</blockquote><blockquote>Mary, hit John [context, intonation (verbal), punctuation (written)]</blockquote><p>Similarly, to illustrate the levels of complexity that underlying structures can encounter, consider the passive voice:</p><blockquote>John was hit by Mary [syntax]</blockquote><p>Or, consider the following recursive example:</p><blockquote>John (…) hit Mary. [syntax]</blockquote><p>…is the guy who…</p><p>…is the guy who I met on the train who…</p><p>…is the guy who I met on the train from Queens who…</p><p>…is the guy who I met on the train from Queens where I live who…</p><p>and so on.</p><p>Hopefully, these examples illustrate how underlying structure, syntax, can disambiguate meanings in natural language. (Any residual ambiguity allows for humorous puns and New Yorker cartoons.)</p><h4>Semantic Disambiguation without Appealing to Structure: Bag o’ Words</h4><p>In contrast to the complex systems of sentence and word structure, now consider these two bags of words.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*LoFocU0j3nLLRF98ikCUXw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*oW7qKVl7qH2KvVowG3gWew.png" /><figcaption>Which hit—violence or radio?</figcaption></figure><p>Hopefully, this example illustrates that very quickly semantic disambiguation can also be gleaned from a document simply by the make-up of the words with which it appears— without appealing to any of that complicated <em>underlying structure</em>, aka, syntax and morphology. In this case, we might assume a latent sense of <em>violence</em> or <em>crime</em> for hit on the left, whereas the meaning of hit on the right would more likely be interpreted as a successful song on the radio.</p><h4>Morphology, Stems &amp; Lemmas</h4><p>Agreement as to what makes a word a word can vary academically. For example, is it useful to consider the following words as one root? Or is it better to consider them as a root with features? or simply as-is?</p><blockquote><strong>build</strong>: build, builds, builder, building, built.</blockquote><p>Often in computational linguistics, it is most helpful to flatten variations of a word into its root. The two most common practices seem to be <em>stemming </em>and<em> lemmatization, </em>whereby morphemes and characters are removed to reduce the token to its “root” sense, or stem, or lemma.For a theoretical linguists, underlying structures can also be found within word boundaries. And the notion of what makes a word a word in alphabetic languages can sometimes be unclear. One key assumption of bag o’ words models is the definition of a word. In my experiment, to keep it simple, I did not stem or lemmatize any of the words, but one can easily see how this would have a huge effect. For example,</p><blockquote>John hit Mary</blockquote><blockquote>John hits Mary</blockquote><h4>Search Terms, Page Ranking &amp; Indexing</h4><p>So to put this into more concrete terms, imagine if ‘hit’ was a search term entered into a search engine. Can we determine which documents might relate semantically to the search term hit without appealing to syntax (underlying structure of the language)?</p><p>Well, Google can. And robustly. And quickly.</p><p>What is the probability that website is relevant to a search term? How does the search engine know how to disambiguate it? And how does Google do this so well and so quickly? And so language-agnostically?</p><p>This may now start to sound familiar with regard to conditional probability and Naive Bayes models.</p><blockquote>What is the probability of term-x0 given the frequencies of terms in a document {x1, x2, x3, …}?</blockquote><p>The notion of processing documents (websites, emails, books, logs, etc.) to be searched quickly involves indexing and page ranking. And the art and magic that powers the details of those techniques are what makes Google what it is today.</p><h3>My Experiment</h3><h4>16 Documents</h4><p>To begin, I analyzed the following sixteen titles with the following human intuitions all from the Plain Text UTF-8 options from the Gutenberg Project (<a href="https://www.gutenberg.org/wiki/Main_Page">https://www.gutenberg.org/wiki/Main_Page</a>).</p><p>The intuitions I wanted to check were:</p><p>Control: the same document analyzed against itself should show the highest degree of similarity.</p><ul><li>Documents in the same language should be seen as more similar than documents across languages,</li><li>Documents that have the same subject-matter, and language should be seen as more similar than documents with unrelated subject-matter</li><li>Documents with the same author…?</li></ul><p><strong><em>English-Language (9)</em></strong></p><p><em>Stories about boats</em></p><ul><li>Heart of Darkness</li><li>Moby Dick</li><li>The Jack-Knife Man</li><li>In Red and Gold</li></ul><p><em>Same author (Dickens)</em></p><ul><li>A Christmas Carol</li><li>David Copperfield</li><li>Oliver Twist</li></ul><p><em>Stories about the moon</em></p><ul><li>By Earthlight</li><li>From the Earth</li></ul><p><strong><em>German (3)</em></strong></p><ul><li>Death in Venice</li></ul><p><em>Same Author (Hesse)</em></p><ul><li>Demian</li><li>Siddhartha</li></ul><p><strong><em>Greek (4)</em></strong></p><ul><li>Agamemnon</li><li>The Gitavros</li></ul><p><em>Same Author (Aristotle)</em></p><ul><li>Nicomachean Ethics, Vol. 1</li><li>Nicomachean Ethics, Vol. 2</li></ul><h4>Tokens, Types, Stops and Dirty Words</h4><p>The first step was to parse out the texts into words, or <em>tokens</em>. I was excited to finally try the Python <strong><em>tokenize</em></strong> module, <em>Natural Language Took Kit</em>.</p><pre>from nltk.tokenize import sent_tokenize, word_tokenize, RegexpTokenizer<br>from nltk.corpus import stopwords</pre><p>So, my exact steps were:</p><ol><li>Found the core <em>body</em> text within the larger file. This was manual, but Gutenberg Project provides a fairly robust notion of start and stop for the body text.</li><li>Parsed out paragraphs with basic Python str.split()</li><li>Parsed out sentences with <strong><em>nltk.sent_tokenlize.</em></strong></li><li>Parsed out word <em>tokens</em> with <strong><em>nltk.word_tokenize</em></strong>.</li><li>No stemming, or lemmatizatin, but I “cleaned” each word with my own “clean()” function , just as a test. <br>“def clean(word):<br> root = word.strip().lower()<br> if root == ‘n\’t’:<br> root = ‘not’<br> return root”</li><li>Ignored common functional words according to the language with <strong><em>nltk.stopwords</em></strong></li><li>Counted word <em>types</em> and built vector spaces with basic Python dicts,</li></ol><p>e.g., The Heart of Darkness</p><pre>{&#39;nellie&#39;: 1, &#39;cruising&#39;: 1, &#39;yawl&#39;: 1, &#39;swung&#39;: 4, &#39;anchor&#39;: 3, &#39;without&#39;: 51, &#39;flutter&#39;: 1, &#39;sails&#39;: 2, &#39;rest&#39;: 19, &#39;flood&#39;: 2, &#39;made&#39;: 67, &#39;wind&#39;: 6, &#39;nearly&#39;: 13, &#39;calm&#39;: 5, &#39;bound&#39;: 4, &#39;river&#39;: 60, &#39;thing&#39;: 35, &#39;come&#39;: 32, &#39;wait&#39;: 6, &#39;turn&#39;: 9, &#39;tide&#39;: 2, &#39;sea&#39;: 23, &#39;reach&#39;: 11, &#39;thames&#39;: 3, &#39;stretched&#39;: 3, &#39;us&#39;: 54, &#39;like&#39;: 120, &#39;beginning&#39;: 1, &#39;interminable&#39;: 2, &#39;waterway&#39;: 4, &#39;offing&#39;: 2, &#39;sky&#39;: 11, &#39;welded&#39;: 1, &#39;together&#39;: 18, &#39;joint&#39;: 1, &#39;luminous&#39;: 5, &#39;space&#39;: 6, &#39;tanned&#39;: 1, &#39;barges&#39;: 1, &#39;drifting&#39;: 1, &#39;seemed&#39;: 69, &#39;stand&#39;: 7, &#39;still&#39;: 40, &#39;red&#39;: 14, &#39;clusters&#39;: 1, &#39;canvas&#39;: 1, &#39;sharply&#39;: 2, &#39;peaked&#39;: 3, &#39;gleams&#39;: 4, &#39;varnished&#39;: 2, &#39;sprits&#39;: 1, &#39;haze&#39;: 2, &#39;rested&#39;: 3, &#39;low&#39;: 16, &#39;shores&#39;: 3, &#39;ran&#39;: 9, &#39;vanishing&#39;: 2, &#39;flatness&#39;: 1, &#39;air&#39;: 30, &#39;dark&#39;: 25, &#39;gravesend&#39;: 2, &#39;farther&#39;: 7, &#39;back&#39;: 65, &#39;condensed&#39;: 1, &#39;mournful&#39;: 5, &#39;gloom&#39;: 10, &#39;brooding&#39;: 9, &#39;motionless&#39;: 4, &#39;biggest&#39;: 3, &#39;greatest&#39;: 5, &#39;town&#39;: 3, &#39;earth&#39;: 39, &#39;director&#39;: 4, &#39;companies&#39;: 1, &#39;captain&#39;: 4,</pre><h4>Word Clouds</h4><p>A quick check of my word clouds revealed my nltk implementation of stop words for <strong>English</strong> and <strong>German</strong> texts looks good.</p><p><em>Heart of Darkness [English]</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*drOvRLyPFzPwyCNHLWDS8g.png" /></figure><p><em>Death in Venice[German]</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5O9lzOWxm7z8_7Lns7AzIA.png" /></figure><p>But a quick check of my word clouds revealed <strong><em>my nltk implementation of stop words for Greek may have failed. </em></strong>I need to dig into the actual words in the nltk set to confirm, however Greek, my intuition suggests that issues with type encoding, or inconsistent diacritical markers may be an issue.</p><p><em>Gitavros [Greek]</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ym91q4Xtm_DnRmjgwjHDHg.png" /></figure><h4>Vectors &amp; Similarity Measures</h4><p>To evaluate comparison measures, I built a class to compare two documents with the following methods of similarity based on my understanding of <em>Foundations of Statistical Natural Language Processing </em>[Manning and Schütze, 1999].</p><p>Methods I implemented based on <em>sets</em> of unique words, <strong><em>binary</em></strong> vectors, which are effectively just the cardinal <em>set</em> of words in the mathematical, with no count values.</p><ul><li><strong>Dice</strong>: The length of shared unique words divided by the sum of all unique words in both documents .</li><li><strong>Jaccard</strong>: The length of shared unique words divided by the union of both both documents.</li><li><strong>Overlap</strong>: The length of shared unique words divided by the smaller of the two documents.</li><li><strong>Cosine</strong>: The number of matching unique words divided by the square-root of the product of the two documents.</li></ul><p>Methods I implemented based on word-counts, or vector <strong><em>space, </em></strong>which in my case were just Python dicts.</p><ul><li><strong>Euclidean Distance</strong>: the square-root of the sum of the count differences squared.</li><li><strong>Cosine Vector</strong>: the product of the counts for the word in each vector divided by the square-root of product of each count squared.</li><li><strong>Latent Dirichlet Allocation</strong>: TK!</li></ul><p>See also the methods in Python below:</p><pre>class Similarity():<br>   def __init__(self, leftDocument, rightDocument):<br>     self.Left = leftDocument<br>     self.Right = rightDocument<br> <br>   def get_matching_coefficient(self):<br>     return self.Left.get_set().intersection(self.Right.get_set())<br> <br>   def get_dice_coefficient(self):<br>     num = 2*len(self.get_matching_coefficient())<br>     denom = len(self.Left.get_set()) + len(self.Right.get_set())<br>     return num/denom<br> <br>   def get_jaccard_coefficient(self):<br>     num = len(self.get_matching_coefficient())<br>     denom = (len(self.Left.get_set().union(self.Right.get_set())))<br>     return num/denom<br> <br>   def get_overlap_coefficient(self):<br>     num = len(self.get_matching_coefficient())<br>     denom = min( len(self.Left.get_set()),     len(self.Right.get_set()))<br>     return num/denom<br> <br>   def get_cosine(self):<br>     num = len(self.get_matching_coefficient())<br>     denom = (len(self.Left.get_set())*len(self.Right.get_set()))**0.5<br>     return num/denom<br> <br>   def get_vector_cosine(self):<br>     num = 0<br>     denom_left = 0<br>     denom_right = 0<br>     if len(self.get_matching_coefficient()):<br>        for word in self.get_matching_coefficient():<br>            L_count = self.Left.get_word_count(word)<br>            R_count = self.Right.get_word_count(word)<br>            num += L_count*R_count<br>            denom_left += L_count**2<br>            denom_right += R_count**2</pre><pre>        return num/((denom_left)**0.5 * (denom_right)**0.5)<br>     else:<br>        return 0<br> <br>   def get_euclidian_distance(self):<br>     dist = 0<br>     for word in self.get_matching_coefficient():<br>         dist += (self.Left.get_word_count(word) —     self.Right.get_word_count(word))**2<br>     return (dist)**0.5</pre><h3>Results</h3><h4><em>Dice</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*ScRZ-0Ydr8rXJ-DL6LGxpA.png" /><figcaption><strong>Dice</strong>: The length of shared unique words divided by the sum of all unique words in both documents .</figcaption></figure><h4><em>Jaccard</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*WbjUcdaQPOanxBJln-dieQ.png" /><figcaption><strong>Jaccard</strong>: The length of shared unique words divided by the union of both both documents.</figcaption></figure><h4><em>Overlap</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*vfWuUosDOlBflJLvIxXuDg.png" /><figcaption><strong>Overlap</strong>: The length of shared unique words divided by the smaller of the two documents.</figcaption></figure><h4><em>Cosine</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/982/1*8rT6SkLo4ie8zQt7MjhuYg.png" /><figcaption><strong>Cosine</strong>: The number of matching unique words divided by the square-root of the product of the two documents.</figcaption></figure><h4><em>Euclidean Distance</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*5kJ3mnCIH4uXiG2BlBIzvQ.png" /><figcaption><strong>Euclidean Distance</strong>: the square-root of the sum of the count differences squared.</figcaption></figure><h4><em>Cosine Vectors</em></h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/1*uOB6wo-VKNi3XGqqkfu-Ag.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2326565c77f8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beautiful Ebook Soup]]></title>
            <link>https://medium.com/@davidhenryhaase/a-beautiful-ebook-soup-fb849513cf66?source=rss-e0e4ea66fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/fb849513cf66</guid>
            <category><![CDATA[ebook]]></category>
            <dc:creator><![CDATA[David Haase]]></dc:creator>
            <pubDate>Wed, 22 May 2019 11:32:59 GMT</pubDate>
            <atom:updated>2019-05-22T17:26:51.939Z</atom:updated>
            <content:encoded><![CDATA[<h3>A</h3><h3>Beautiful Ebook Soup</h3><p>If you leave with just one idea from this blog, please let it be that the Python module <em>BeautifulSoup</em> from <strong>bs4</strong> seems to work, … well, <em>beautifully</em> with ebooks. I was recently introduced to the HTML parser module BeautifulSoup in my coursework for data science. And as a <em>new</em> data science student and an <em>old</em> developer of ebooks, I was immediately curious to see if I could transfer the success of parsing websites with BeautifulSoup into success of parsing ebooks with BeautifulSoup. I am happy to report that my initial tests suggest BeautifulSoup works very well with ebook data, and I look forward to leveraging it, and any other parsers we learn, to begin mining text data in ebooks more deeply.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FZqSsjOr1tfUha%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fkiko-mizuhara-gifs-gif-ZqSsjOr1tfUha&amp;image=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FZqSsjOr1tfUha%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="263" frameborder="0" scrolling="no"><a href="https://medium.com/media/bc1ad8eefbddb0b0ff1bea28e8e2eba1/href">https://medium.com/media/bc1ad8eefbddb0b0ff1bea28e8e2eba1/href</a></iframe><h4>For example…</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t3JuVu7P1wD2cVQD5ZVEVA.png" /><figcaption>Word Count: 168 from single &lt;/p&gt; tag</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*GO81yLdJ7u3O66i5CB5qcQ.png" /><figcaption>Top Ten Word from single &lt;/p&gt; tag</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aMLrrBMiYAm1Fnu_cXKFWw.png" /><figcaption>Word Count: 3,265 from single HTML page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*OHXkjfOJOb51qtD0MWJJTg.png" /><figcaption>Top 10 Words from single HTML page</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*RFJ1BgjsvDCRqJEkUmuUAw.png" /><figcaption>Word Count: 22,120 from all pages in ebook</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*UKGo07K9cNXSzLrVG4dKnQ.png" /><figcaption>Top 10 Words from all pages in ebook</figcaption></figure><h4>EBUPs are Just Websites</h4><p>For anyone familiar with the underlying structures of ebooks, this may come as no surprise. After all, the standard format of current ebooks is EPUB. And the underlying framework of EPUB format is HTML, CSS and sometimes JavaScript. So perhaps if you were to leave with two ideas from this blog, maybe one of them could be the awareness that at this point most ebooks are just self-contained websites of HTML and CSS packaged up into an EPUB format to be read be ereaders like Nook, Kindle, iBooks and so on. And ereaders themselves can be considered to be just derivations of modern browsers. In some ways, they are like oft-forgotten step-children of modern browsers, but more on that later.</p><p>For now, it is helpful to note that all the underlying content of an ebook is packaged in an EPUB which is basically a zip-file. In order to get programmatic access to the content files inside, you first need to unzip them and expand the internal folder structure. Any number of unzip methods are available on the internet for EPUBs. However curiously, zipping up an expanded set of files back into a valid EPUB can have some catches. A more specific tool might be needed to reassemble the files.</p><p>And finally, if you just want to see the internal files, the free editor, TextWrangler, works well. And even stronger tools such as Oxygen are available to view and edit EPUBs without formally breaking the container.</p><p>But for our task at hand, it is key is to first locate the HTML files that contain the actual or relevant book content. In the example below the relevant HTML files were published within an OEBPS folder.</p><h4>For example…</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OwZhhhWgfiE-LexxqyOw5g.png" /><figcaption>Ebook File Structure viewed from TextWrangler</figcaption></figure><h4>But Websites Are Spineless by Comparison</h4><p>At a high level, one of the primary differences to keep in mind between ebooks and traditional websites is <em>implicit navigation</em>. To better understand this, consider print books. Print books have an implicit sense of page-forward and back simply by the order in which the print pages were bound into the spine. By gluing the pages in a fixed order into the spine, publishers define the page order and implicitly define notions of paging forward and back.</p><p>Now contrast that with websites, and it becomes obvious that websites do not have, or need, any implicit navigation.</p><p>So ebooks and ereading platforms were developed to imitate this implicit notion of page sequence. But publishers and platforms need to agree on what that specification should look like. So, just like PNG, JPG or DOC files, EPUB files are coded to an agreed-upon standard. In the case of EPUB, this standard is defined by the International Digital Publishers Forum, or the IDPF (<a href="http://idpf.org/">http://idpf.org/</a>), which is now newly parented by the World Wide Web Consortium, or W3C (<a href="https://www.w3.org/">https://www.w3.org/</a>).</p><p>Exact details about the implementation of specifying page order have evolved. The example I have below is a little older and shows examples of the OPF and NCX files.</p><p>But the most recent version of the EPUB standard will usually always be available on the IDPF website, for example: <a href="http://idpf.org/epub/301">http://idpf.org/epub/301</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qdjeawcstz0jxpHXpdQC0Q.png" /><figcaption>(above) A quick view of the OPF from Text Wrangler</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5TW7CJ2VhG_a2JezVW9K_w.png" /><figcaption>(above) A quick view of the NCX from TextWrangler</figcaption></figure><h4>Fixed-Page versus Reflow</h4><p>Another somewhat unique characteristic of ebooks compared to traditional websites is the notion of reflow and fixed-page. Most commonly traditional literature implements a reflow model in which the viewport (page dimensions) are fluid in width and length and the text flows accordingly. In contrast, fixed-page formats define the viewable page in pixels and pages content is displayed as a full image file. And so the text does not reflow responsively, and may not available for scraping.</p><h4>Where Can I Find EPUBs?</h4><p>If I reduce modern ebook publishing simply, modern publishing houses publish their ebooks in large part through <em>platforms</em> such as Amazon’s Kindle, Barnes &amp; Nobles Nook , Google’s Play Books or Apple’s iBooks and so on. For these giant <em>platforms, </em>everything is unified into one experience and the EPUB files themselves are consequently obscured: content ingestion, content conversion, content sales, content delivery and user-library management are all controlled by the platform. And for many various reasons, the actual content files within their respective platforms can be considered obfuscated to the casual user.</p><p>However, there are places like the Gutenberg Project (<a href="https://www.gutenberg.org/">https://www.gutenberg.org/</a>) which expose access to lots of free titles (59,000+).</p><p>And from the perspective of application development or ereaders, the code for a the IDPF-standard ereader, called Readium is free and open-sourced (<a href="https://readium.org/">https://readium.org/</a>).</p><h4>A note about Kindle Files</h4><p>Keep in mind that nearly all book publishers now publish their ebooks in EPUB format. However, you may wonder about Amazon’s Kindle platform. Amazon’s platform ingests EPUBs from publishers but in turn convert the EPUB into a Kindlized version of the EPUB (e.g., MOBI, KF8, etc.) for retail. Amazon exposes this one-way conversion through their own tool, KindleGen (<a href="https://www.amazon.com/gp/feature.html?ie=UTF8&amp;docId=1000765211">https://www.amazon.com/gp/feature.html?ie=UTF8&amp;docId=1000765211</a>). Publishing this tool allows ebook publishers to convert their files into the Kindle platform for QA and previewing before publishing.</p><h4>Accessibility as Additional Consumers of HTML Format</h4><p>And finally, a quick note about other ways HTML from an EPUB can be <em>consumed</em>. Interestingly, the promise that ebooks can have toward greater accessibility requirements is deeply engrained into the IDPF’s mission for EPUB standards.</p><p>For example, speech-to-text software benefits greatly from well-formed and semantically meaningful HTML tagging practices. Making sure HTML is exposed and semantic can really make content more meaningfully accessible for groups like the visually impaired. Similarly, semantic and meaningful tagging of the alt-text for images within an ebook can have a powerful effect on improving the experience of text-to-speech software that can leverage those descriptions audibly for the visually impaired.</p><p>For more information on how or why HTML can be coded for accessibility, the DAISY Consortium (<a href="http://www.daisy.org/home">http://www.daisy.org/home</a>) is an excellent resource. They strive to bring awareness to the importance standardized HTML coding practices that can benefit the accessibility of content.</p><h4>In conclusion</h4><p>EPUBs seem like a great resource for data scientists, and BeautifulSoup seems to play very well with them.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fb849513cf66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Quick Consideration of Linguistics and Data Science]]></title>
            <link>https://medium.com/@davidhenryhaase/a-quick-consideration-of-linguistics-and-data-science-7145c9e0d945?source=rss-e0e4ea66fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7145c9e0d945</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[linguistics]]></category>
            <dc:creator><![CDATA[David Haase]]></dc:creator>
            <pubDate>Fri, 10 May 2019 02:35:27 GMT</pubDate>
            <atom:updated>2019-05-10T16:36:38.039Z</atom:updated>
            <content:encoded><![CDATA[<h3>Linguistic Features, Universal Grammar and the OLS statsmodel.</h3><h4>Or, Don’t despair; understanding how to predict the sale prices of houses in King County might actually help us acquire language.</h4><p>One of key factors that convinced me to study data science was the exhilarating moment when I made the connection between data science and linguistics. My own history and interest in linguistics is non-trivial, and the notion of expanding that history through the tools of data science has been very alluring.</p><p>In fact, since that eureka moment just a few short months ago, I decided to pursue a career in data science. But first, I have to study it. So I now find myself gleefully finishing Module 1 (Week 3) of a highly immersive bootcamp in that direction. My freshman class just finished our first module by completing an intensely compressed deep-dive into linear regression of housing prices in King Count, WA. So while we enjoy a brief, sisyphean joy between the glow of finishing that first module, and starting the second, I wanted to briefly document how I see the relationship between linguistics and data science.</p><p>I am in part motivated by what seems like a missed opportunity—or minimally, an opportunity that I alone seem to have missed—to enrich my understanding of data science by referencing what I already know about linguistics. Have I missed something in the ten years that passed since grad school? What is happening to Linguistics Departments in academia? Has the potential for data science simply eclipsed what I consider to be his parent, linguistics? What other parents might data science have that could enrich my new career path?</p><p>Secondly, I am curious to see where my classmates might position data science with regard to linguistics and hopefully drum up some shared interest in applying data science to linguistics in our future—or even, final—projects.</p><p>A quick internet search revealed that the term data science was first published in its current understanding in 2001. The term seems to have existed much earlier but its usage was more synonymous with computer science.</p><blockquote>Spoiler Alert: Apparently Darth Vader is Luke’s Father</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FEMZk8Iokp2Ndm%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FEMZk8Iokp2Ndm%2Fsource.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FEMZk8Iokp2Ndm%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/810e9d9c4c969c19922d26e56d1428d5/href">https://medium.com/media/810e9d9c4c969c19922d26e56d1428d5/href</a></iframe><h4>Language Acquisition as an Example of Data Modeling</h4><p>If I was forced at gunpoint to reduce all linguistic research into a single elevator pitch, I might propose the following:</p><blockquote>Linguistics is a science that tries to explain how we as humans converge on fluency by the age of five throughout the planet.</blockquote><p>As an elevator pitch, I argue that this is not a particularly provocative statement, and despite being a fairly quarrelsome bunch, my hope is that I can post this online without too much fuss from fellow linguists. My sincere goal is simply to make a baseline definition on which to compare and contrast elements of data science.</p><p>So, let’s break down the pitch and see how it might compare to our goals in data science.</p><p><strong>Linguistics</strong></p><pre>Linguistics is a science that tries to explain…</pre><pre>…how humans converge,<br>    i.e., how children build a model of language</pre><pre>…on fluency,<br>    i.e., that is generatively accurate</pre><pre>…by the age of five. <br>    i.e, given only what they see/hear/experience</pre><p><strong>Data Science</strong></p><p>Now let’s compare that to our Module 1 assignment:</p><pre>Using a discrete set of known house data, build a model in python that will accurately predict a heretofore unknown house’s sale price. </pre><p>Hopefully, the break-down above unearths the similarities with data science and language acquisition in which both disciplines we as data scientists try to build computational models based on data sets that accurately predict things from novel data.</p><h4>Important Assumptions when Modeling L<em>anguage Acquisition</em></h4><p>Key Observation:</p><blockquote>I could never have finished my linear regression project on King Count Housing data in the time allotted if I didn’t have the OLS object in Statsmodel.</blockquote><p>And human language acquisition might be in the same boat. Here’s why:</p><p>When I last left linguistics, the following assumptions were fundamental to framing the literature and framing the research:</p><ul><li>The language instinct: A notion most notably coined by Steven Pinker with the eponymous title in which human language is born out of an underlying capacity for language. It is a quality of humanness, in much the same way an instinct to build nests may be a quality of birdness (my analogy, not his).</li></ul><blockquote>In other words, it is likely humans are born with an internal language acquisition library in much the same way Statsmodel provides a blackbox OLS model for linear regression.</blockquote><ul><li>The poverty of stimulus &amp; universal grammar: A pillar of Chomskian linguistics, it is the notion that all children converge on generative fluency despite messy, inconsistent input. How is the possible? Perhaps, since the machinery of language is already innate (universal grammar), maybe the set of features that can help distinguish fluency in a language is actually quite small.</li></ul><blockquote>In other words, because of this internalized “linguistic statsmodel library” humans don’t need as much data as we would think. Instead we rely on “features” of a language.</blockquote><ul><li>Political grammaticality: A third fundamental notion to linguistics is a distinction between linguistic grammaticality and prescriptive (or political) grammaticality. This notion is most famously captured by the quote, “A language is a dialect with an army and navy.” (Which I am thrilled to learn is actually attributed to Max Weinreich: <a href="https://en.wikipedia.org/wiki/Max_Weinreich">https://en.wikipedia.org/wiki/Max_Weinreich</a>, since I always thought it was from Pinker.)</li></ul><blockquote>The key is to remember that, barring a pathology, humans are incapable of creating ungrammatical speech. And so if a particular dialect, accent, or variation is deemed “less than” or “improper”, that judgement is motivated by social class and politics, not by the grammar itself.</blockquote><h4>The Trinity of Linguistic Research—Phonology, Syntax and Semantics</h4><p>Many very important aspects of Linguistics exist such as Pragmatics, Sociolinguistics, Neurolinguistics, Psycholinguistics, Learning Acquisition, Second-Language Acquisition, Morphology, and so on. But in terms of modeling language grammars, three main areas are considered fundamental.</p><ul><li>The rules that govern the structure of its sentences (Syntax)</li><li>The rules that govern which sounds are meaningful (Phonology)</li><li>The rules that govern how meaning is then encoded (Semantics)</li></ul><p>(And in full disclosure, I am transparently quite ignorant — and even a little scared of the last, Semantics. And so I will deal with Semantics slightly differently in follow-up blog.)</p><h4>How Do Linguists Model Languages?</h4><p>And to bring it back to the relationship between linguistics and data science, it all comes back to <em>features</em>. One important framework for comparing and modeling languages is through their distinctive features. Again, I will deliberately avoid Semantics, but the distinctive features of Syntax and Phonology are very useful. Linguists model grammars through <em>meaningfully</em> distinctive features.</p><p><em>Syntactic Features</em></p><p>For example in English, <strong>word-order</strong> is a very <em>meaningfully</em> distinctive syntactic feature:</p><blockquote>John kissed Mary</blockquote><p>vs.</p><blockquote>Mary kissed John</blockquote><p>Word-order is very important to Turkish and German too, but the syntactic feature of word-order gets defined in differnt ways:</p><blockquote>İyi bir genç = nice a young-man (a nice young-man)</blockquote><p>But of course, not all languages use word-order as a distinctive feature in their syntax. Greek for example, can assemble its sentences in nearly any order: John kissed Mary, Mary kissed John, Mary John kissed, kissed Mary John, etc. In this case, Greek uses morphological markers on the words to disambiguate what would otherwise be confusing.</p><p>Similarly, German definitely has word-order as a feature of its syntax, but it isn’t necessarily the same word-order as English.</p><p>Another meaningfully distinctive syntactic feature might be whether or not a language must express the subject. Obvious examples of this requirement are French and English:</p><blockquote>Kissed Mary. (fails)</blockquote><p>Even if we know it was John, the syntax of English requires that we express it either with a name or pronoun. But Italian in contrast has no such requirement and can easily drop the explicit expression of the subject if desired:</p><blockquote>Ha baciato Maria.</blockquote><p>And Italian can also move things around a bit even without the overt morphological markers Greek has:</p><blockquote>Ha baciato Maria, Giovanni.</blockquote><p>Another example is the requirement to express the notion <em>to be, </em>or the copula. Turkish has this feature to NOT express the copula, as well as Arabic:</p><blockquote>Bu öğrenciler zeki ve çalışkan. = These students (are) smart and hard-working. :-)</blockquote><p>Also, Turkish has a different expression of morphological plurality, and the list of syntactic features goes on and on.</p><p><em>Phonological Features</em></p><p>The most interesting of all in my opinion. The capacity for our minds to map meaning to the positioning of our tongues still amazes me to this day. And with regard to distinctive feature mapping, linguists also use classify and map meaningfully Phonetic distinctions to define a grammar.</p><p>For example,</p><blockquote>I bid on a bed.</blockquote><blockquote>I bet on the bit.</blockquote><p>But if you’re German?</p><blockquote>There’s a leak in the league.</blockquote><p>But it works the other way, I may never ever hear the difference in these two important neighborhoods in Istanbul:</p><blockquote>Karaköy vs Kadıköy</blockquote><p>And of course the most overused example is the perceived inability of Japanese speakers to ‘hear’ ls and rs.</p><p>But also consider the English example of voicing:</p><blockquote>I walked the dog (voiced/unvoiced k &amp; g) Clearly English has meaningful lexical distinctions with palatal voicing,</blockquote><p>but, not for the syntax of past-tense</p><blockquote>I logged the value (past-tense marker is dental but ignores voicing in English)</blockquote><h4>Linguistics Features as Internalized Statsmodel</h4><p>So to put it all together in one example, a linguist might follow the logic below:</p><p>Word-Order Analysis</p><ul><li>Deriving a fully fluent notion of past-tense from just data by the age of five might be impossible given the <em>poverty of stimulus</em>.</li><li>So maybe humans are born expecting a some notion of Objects, Verbs and Subjects (notion of <em>universal grammar</em>). In other words, maybe we have an internalized OLS statsmodel just waiting to determe the highest correlations of the word-order feature…</li><li>All the child has to do now is determine the order: S-V-O, (S)-V, etc.</li></ul><p>Similarly, Past-Tense Marker Analysis</p><ul><li>Deriving a fully-fluent notion of phonological past-tense might be impossible by the age of five given the poverty of stimulus.</li><li>So, maybe humans have an internalized expectation for syntactic past-tense (aka, a statsmodeler for syntax).</li><li>And for English, the palatal stop in coda position that ignores voicing… is potentially a “prediction model”.</li></ul><h4>Conclusion</h4><p>If you got this far, I thank you and hope your interest in the relationship between linguistics and data science was enriched. I find the history of data science to be linked if not directly borne out of linguistics in of the mid-late 20th Century.</p><p>As I progress deeper into the upcoming bootcamp modules, I look forward to understanding where contemporary linguistics interfaces with data science. In particular, how the existing machinery of syntactic and phonological feature definitions in linguistics can serve better predictions in data science.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7145c9e0d945" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Potential for Implicit Bias in Interpreting Data]]></title>
            <link>https://medium.com/@davidhenryhaase/the-potential-for-implicit-bias-in-interpreting-data-43594b6490b9?source=rss-e0e4ea66fe7------2</link>
            <guid isPermaLink="false">https://medium.com/p/43594b6490b9</guid>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[David Haase]]></dc:creator>
            <pubDate>Sun, 28 Apr 2019 20:57:10 GMT</pubDate>
            <atom:updated>2019-04-29T11:30:35.361Z</atom:updated>
            <content:encoded><![CDATA[<p>As a freshman data-scientist-in-training, a few thoughts came to mind in my first week of bootcamp regarding the potential for implicit bias in my approach to data science. And now with my first five immersive days of bootcamp solidly behind me, I can eagerly confirm the role we have as data scientists is to make <em>explicit </em>decisions regarding our approaches to data. However, my beginner’s brain now wonders how <em>implicit</em> biases might bear on our approach to data.</p><p>I am going to lean on long-standing advice to <em>write what you know</em>. So, specifically — and perhaps indulgently, I will first attempt to identify three phenomena of implicit bias from my personal experience that I found curious. All of them involve things I know: food, travel and language. I decided to present the ideas in framework of <em>lessons learned</em> which I hope is effective for discussion and feedback.</p><p>I then postulate how these same biases might bear on my own approach to data and coding as a data scientist. And finally the ultimate goal is to prompt discussion and listen to feedback to better understand if I am at all on the right track as a data scientist, or completely off the mark, or somewhere in between.</p><h3>The Implicit Bias of Confidence</h3><p><strong>Anecdote</strong></p><p>I love to cook, I love to eat and I love to host dinner parties. At a young age, I knew I could easily eat half a roasted chicken on my own, and I was a whiz at arithmetic.</p><p>So, for my first dinner party with ten guests, I bought and served (among other things) exactly five chickens. A simple 2:1 constant rate of change, right? Seems utterly obvious.</p><p><strong>Result</strong></p><p>With ten of my friends and me around the table, barely two of the five chickens were eaten. I had nearly three entire chickens left over, an empty wallet and don’t get me started with the quarts and quarts of left-over mashed potatoes.</p><p>What went wrong with my math?</p><p><strong>Postulations</strong></p><ul><li>Nothing was wrong with my math, but I learned my friends are drinkers, not eaters.</li><li>I also learned my table and chairs are horribly uncomfortable. No one wanted to sit at the table for too long.</li><li>And many others</li></ul><p><strong>Lesson Learned</strong></p><p>No matter how confident we might be in our assumptions, or how simple we think a given relationship is, we must remember to <em>always, always, always, test at scale</em>. Our implicit bias of confidence might hold us back from revealing tragic outcomes at scale.</p><p>Similarly, never trust your math (or algorithms) blindly. When possible, always do a quick heuristic mental check of your outcomes <em>independent of your math. </em>In this example, I could have perhaps tried to mentally visualize ten people eating around my table — would five roasted chickens look normal? What amount of food would look appropriate in my mental picture? What tables of ten have I seen in the past and how much food was served? Would five roasted chickens actually <em>look like</em> on such a table? Would it seem too much, just right or too much? and so on…</p><h3>The Implicit Bias of Free-Will</h3><h4>or, <em>How your outliers might actually be lying to you</em></h4><p><strong>Anecdote</strong>:</p><p>I spent many years living in Paris and met many people from around the world. It was <em>très</em> nice.</p><p>I then moved to New York and was surprised at how many people in New York had lived in Paris, too. <em>Quelle coïncidence</em>!</p><p>I then visited Rio and I was utterly bouleversé by the coincidences of people who had once lived in Paris, now live in New York and visit Rio too.</p><p>At first, the coincidence that each of us made these ever-convergent decisions out of our own free will and agency seemed spectacular and mysterious.</p><p><strong>Postulations</strong></p><p>Over time, I thought more about these spectacular coincidences, and I began to conclude that these coincidences may not be as spectacular as they seem.</p><p>I now argue that people who live in Paris are in fact <em>more likely than not </em>to also end up in New York. And similarly, people who have lived in New York and Paris are again even more likely to have also visited Rio. And so on and so on.</p><p>What seemed at first to be spectacular outlying coincidences of our own agency, now began to expose underlying regularities that may have been hidden by the implicit bias of that very same free-will.</p><p><strong>Lessons Learned</strong></p><p>We should always give consideration to, or give at least a minimal account of our outliers. We should not dismiss them out of hand. It is possible they are hiding meaningful regularities that we could never expect.</p><h3>The Implicit Bias of Ignorance</h3><h4>Or, What else might be hiding in your else?</h4><p><strong>Anecdote</strong></p><p>While I am a native speaker of English, I speak Italian and French. For many years I worked in the tourist-mecca of Soho, and for those same years, I heard French and Italian being spoken on a daily basis. After nearly four years, I eventually took a vacation to Turkey which was very all new to me, and something very surprising happened.</p><p><strong>Result</strong></p><p>On the very day I returned to work, I noticed Turkish being spoken for the first time on the streets of Soho. At first blush, the idea that Turkish tourists suddenly began to visit Soho on the very day of my return from Turkey seemed seemed spectacular and miraculous .</p><p><strong>Postulations</strong></p><p>I would argue that it seems unlikely that in the four years of working in Soho Turkish tourists suddenly appeared on the day I return from Turkey. It seems much more likely that Turkish tourists had been coming there just as often as before but rather my <em>awareness of the Turkey </em>changed.</p><p>In terms of data, it would seem that the <em>dataset</em> did not suddenly change upon my return to Soho, but rather something in my evaluation of that data changed.</p><p>And how does this bear on code? To be clear, it is this third example which I am the least confident in understanding how to resolve. But I will begin by arguing that this anecdote might be related to our implementation of else-statements. To illustrate, I’ll present a quick fantasy excerpt of possible pseudocode that my brain could conceivably implemented to filter out unknown languages. In my coffeeshop example above, we could postulate that my unconscious brain was carrying out some loop and evaluation like the one showed in the pseudocode below:</p><pre>while self.is_listening_to(ambient_babble):</pre><pre>    if ambient_babble is in known_langagues:</pre><pre>        self.pay_attention_to(ambient_babble)</pre><pre>    else:</pre><pre>        self.ignore(ambient_babble)</pre><p>(Please note: I am — unequivocally — not suggesting that there might be in any way a flaw to how our unconscious brain protects us from “babble.” Clearly, this process is key to our sanity and survival. )</p><p>But this bias does seem to be very powerful, doesn’t it? And indeed, it is for this example in particular that I am most curious to get feedback: after all, as data scientists how do we become aware of things we are not aware of? And what would that look like in code?</p><p>So the pseudocode example above might give us a clue as to where the potential for implicit bias <em>in our code</em> could lie; namely, I argue, in the else-statement.</p><p><strong>My lesson learned</strong></p><ul><li><em>Investigate your else-statements. Is there a potential to be more specific in your if-, case-, or switch-evaluations? </em>While else-statements by definition are terrifically efficient at filtering away unnecessary data for us, we may be inadvertently throwing out important babies in our else-water, so to speak. Take an explicit look at them and confirm with yourself that you are throwing away what you think you are.</li><li><em>Compare your evaluations/cases horizontally? </em>Are other evaluations available from other sources, or piers with different “backgrounds” — are others filtering out the same things you are?</li><li><em>Investigate your source data. </em>Did you inherit the code? Are you overlooking data? Are there possibly more vectors or dimensions in the source data that are being ignored unintentionally?</li><li><em>Machine-Learning. </em>Or is this a task for machine-learning? Can machine-learning help cluster and define regularities for things we don’t know to know?</li></ul><h3>Conclusion</h3><p>As I begin my journey into data science, I was curious how implicit bias might influence my approaches to data. To that aim, I tried to illustrate three anecdotes of implicit bias from my own life which I naively named: Bias of Confidence, Bias of Agency and Bias of Ignorance, and for each, give consideration to how they might manifest themselves in my coding experience as a data scientist. And then, for each I postulated a possible best-practice to help mitigate their impact. I am eager to hear how this beginner’s analysis might or might not be on target, and I thank you for reading this far.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=43594b6490b9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>