<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>anemptyarchive</author_name>
  <author_url>https://blog.hatena.ne.jp/anemptyarchive/</author_url>
  <blog_title>からっぽのしょこ</blog_title>
  <blog_url>https://www.anarchive-beta.com/</blog_url>
  <categories>
    <anon>R</anon>
    <anon>R-組んでみた</anon>
    <anon>自然言語処理(未分類)</anon>
  </categories>
  <description>〇はじめに RMeCabパッケージのNgram()やdocDF()を使ってシンプルにn-gramの頻度表を作成し、共起ネットワークを作ろうとすると、不要な単語の処理で不都合が生じました。n-gramの組ができた状態で片方の単語を削除すると、残したいもう片方の単語の連なりも当然切れてしまいます。その回避策として、処理の自由度を残した方法を考えました。 文書をRMeCabText()で処理して、①分かち書きされた単語②見出し語化された単語③品詞タグを取得する。 文書中の出現順序を保持したまま、①②③を用いて必要とする単語だけを残す。 残した単語から2-gramの頻度表を作成し、共起ネットワークを作…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.anarchive-beta.com%2Fentry%2F2018%2F12%2F30%2F235321&quot; title=&quot;共起ネットワークの作成と編集 - からっぽのしょこ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/anemptyarchive/20181230/20181230024925.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-30 23:53:21</published>
  <title>共起ネットワークの作成と編集</title>
  <type>rich</type>
  <url>https://www.anarchive-beta.com/entry/2018/12/30/235321</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
