<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hayataka2049</author_name>
  <author_url>https://blog.hatena.ne.jp/hayataka2049/</author_url>
  <blog_title>静かなる名辞</blog_title>
  <blog_url>https://hayataka2049.hatenablog.jp/</blog_url>
  <categories>
    <anon>lisp</anon>
    <anon>ngram</anon>
    <anon>主成分分析</anon>
  </categories>
  <description>趣味でCommon Lispを始めました。とりあえず練習にn-gramを書いてみました。 書き方は色々あると思いますが、ループ構文がまだいまいちわからないので再帰で書きます。 (defun rec-ngram (list n &amp;optional (ret-list '())) (if (eq (length list) (- n 1)) ret-list (rec-ngram (cdr list) n (nconc ret-list (list (subseq list 0 n)))))) いけてる書き方なのかどうかは良くわかりませんが、そう複雑なものではありません。末尾再帰で書いていますが、…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhayataka2049.hatenablog.jp%2Fentry%2F2017%2F03%2F12%2F065329&quot; title=&quot;【common lisp】common lispでn-gram - 静かなる名辞&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-03-12 06:53:29</published>
  <title>【common lisp】common lispでn-gram</title>
  <type>rich</type>
  <url>https://hayataka2049.hatenablog.jp/entry/2017/03/12/065329</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
