{"id":659,"date":"2013-08-29T14:19:55","date_gmt":"2013-08-29T19:19:55","guid":{"rendered":"http:\/\/haleyai.com\/wordpress\/?p=659"},"modified":"2018-07-19T14:16:41","modified_gmt":"2018-07-19T19:16:41","slug":"affiliate-transactions-covered-by-the-federal-reserve-act-regulation-w","status":"publish","type":"post","link":"http:\/\/haleyai.com\/wordpress\/2013\/08\/29\/affiliate-transactions-covered-by-the-federal-reserve-act-regulation-w\/","title":{"rendered":"Affiliate Transactions covered by The Federal Reserve Act (Regulation W)"},"content":{"rendered":"<p>Benjamin Grosof, co-founder of <a href=\"http:\/\/www.coherentknowledge.com\">Coherent Knowledge Systems<\/a>, is also involved with developing a <a href=\"http:\/\/coherentknowledge.com\/publications\/#Finance\">standard ontology for the financial services industry<\/a> (i.e., FIBO).\u00a0 In the course of working on FIBO, he is developing a demonstration of defeasible logic concerning <a href=\"http:\/\/www.federalreserve.gov\/bankinforeg\/topics\/regulation_w.htm\">Regulation W of the The Federal Reserve Act<\/a>.\u00a0 Regulation W specifies which transactions involving banks and their affiliates are prohibited under Section 23A of the Act.\u00a0 In the course of doing this, there are various documents which are being captured within the Linguist&#x2122; platform.\u00a0 This is a brief note of how those documents can be imported into the platform for curation into formal semantics and logic (as Benjamin and Coherent are doing).<!--more--><\/p>\n<p>There is a document from the Federal Reserve with an appendix reviewing Regulation W:<\/p>\n<ul>\n<li>http:\/\/www.federalreserve.gov\/boarddocs\/SRLetters\/2003\/SR0302a1.pdf<\/li>\n<\/ul>\n<p>PDFs are challenging because they are images more than documents.\u00a0 There are lots of problems in getting text for natural language processing out of PDFs (as discussed in great detail in <a title=\"Towards high-quality text stream extraction from PDF: technical background to the ACL 2012 contributed task\" href=\"http:\/\/dl.acm.org\/citation.cfm?id=2390521\">this article<\/a>).\u00a0 Microsoft Word does not extract the text well at all.\u00a0 Google does a pretty nice job, but it breaks up the paragraphs into unrelated divisions.\u00a0 Every line on the screen becomes its own division in the resulting HTML.\u00a0 It renders fine on screen, but it&#8217;s not good for extracting paragraphs and sentences for knowledge acquisition.\u00a0\u00a0 You can see for yourself by Googling for the above URL and looking at the cached HTML Google maintains.\u00a0 Here&#8217;s how it looks in the Linguist:<\/p>\n<p><a href=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-in-the-Browser.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-661\" title=\"Regulation W in the Browser\" src=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-in-the-Browser.png\" alt=\"\" width=\"937\" height=\"829\" srcset=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-in-the-Browser.png 937w, http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-in-the-Browser-300x265.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>The next step is to click the XHTML button.\u00a0 This leads to a question about normalizing the document from the Google PDF structure.\u00a0 Answering yes results in the following:<\/p>\n<p><a href=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-in-the-XHTML-Explorer.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-662\" title=\"Regulation W in the XHTML Explorer\" src=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-in-the-XHTML-Explorer.png\" alt=\"\" width=\"937\" height=\"829\" srcset=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-in-the-XHTML-Explorer.png 937w, http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-in-the-XHTML-Explorer-300x265.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>At this point we&#8217;re good to go.\u00a0 You can use the XHTML Explorer to get rid of extraneous things, like removing headers and footers (e.g., Page X of Y).\u00a0 But the objective is to get sentences from the text reading for natural language processing.\u00a0 By clicking in a paragraph of text on the right and using a menu for the highlighted node on the left you can pop-up a dialog like this:<\/p>\n<p><a href=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Adding-Sentences-from-one-section-of-the-Appendix-on-Regulation-W.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-663\" title=\"Adding Sentences from one section of the Appendix on Regulation W\" src=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Adding-Sentences-from-one-section-of-the-Appendix-on-Regulation-W.png\" alt=\"\" width=\"883\" height=\"431\" srcset=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Adding-Sentences-from-one-section-of-the-Appendix-on-Regulation-W.png 883w, http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Adding-Sentences-from-one-section-of-the-Appendix-on-Regulation-W-300x146.png 300w\" sizes=\"auto, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px\" \/><\/a><\/p>\n<p>And so on to populate the knowledge base for curation.<\/p>\n<p><a href=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-sentences-in-the-Knowledge-Base.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-664\" title=\"Regulation W sentences in the Knowledge Base\" src=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-sentences-in-the-Knowledge-Base.png\" alt=\"\" width=\"682\" height=\"364\" srcset=\"http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-sentences-in-the-Knowledge-Base.png 682w, http:\/\/haleyai.com\/wordpress\/wp-content\/uploads\/Regulation-W-sentences-in-the-Knowledge-Base-300x160.png 300w\" sizes=\"auto, (max-width: 682px) 100vw, 682px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Benjamin Grosof, co-founder of Coherent Knowledge Systems, is also involved with developing a standard ontology for the financial services industry (i.e., FIBO).\u00a0 In the course of working on FIBO, he is developing a demonstration of defeasible logic concerning Regulation W of the The Federal Reserve Act.\u00a0 Regulation W specifies which transactions involving banks and their &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/haleyai.com\/wordpress\/2013\/08\/29\/affiliate-transactions-covered-by-the-federal-reserve-act-regulation-w\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Affiliate Transactions covered by The Federal Reserve Act (Regulation W)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,13,16,17],"tags":[594,591,593,546,132,596,527,211,888,595,592,597],"class_list":["post-659","post","type-post","status-publish","format-standard","hentry","category-compliant-governance","category-knowledge-management","category-natural-language","category-ontology","tag-affiliate-transaction","tag-benjamin-grosof","tag-federal-reserve-act","tag-fibo","tag-financial-services","tag-html","tag-linguist","tag-natural-language-processing","tag-ontology","tag-pdf","tag-regulation-w","tag-xhtml"],"_links":{"self":[{"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/posts\/659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/comments?post=659"}],"version-history":[{"count":3,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/posts\/659\/revisions"}],"predecessor-version":[{"id":1531,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/posts\/659\/revisions\/1531"}],"wp:attachment":[{"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/media?parent=659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/categories?post=659"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haleyai.com\/wordpress\/wp-json\/wp\/v2\/tags?post=659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}