<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kitanokumo</author_name>
  <author_url>https://blog.hatena.ne.jp/kitanokumo/</author_url>
  <blog_title>studylog/北の雲</blog_title>
  <blog_url>https://studylog.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>mecabの辞書はほぼneologdに切り替えて使っているのだけど、久しぶりにCaboChaをpythonから使おうとしたら辞書の指定の仕方がわからなかったのでメモ。 #デフォルト辞書を使う時 cabocha = CaboCha.Parser(&quot;&quot;) #辞書指定する場合はこう(ディレクトリは各々の環境に変えてください) cabocha = CaboCha.Parser(&quot;-d /usr/lib/mecab/dic/mecab-ipadic-neologd&quot;) #解析 tree = cabocha.parse(&quot;北海道札幌市中央区&quot;) デフォルト辞書だと 北海道 / 札幌 / 市 / 中央 / …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fstudylog.hateblo.jp%2Fentry%2F2016%2F01%2F25%2F134507&quot; title=&quot;CaboCha(python)で辞書指定 - studylog/北の雲&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>2016-01-25 13:45:07</published>
  <title>CaboCha(python)で辞書指定</title>
  <type>rich</type>
  <url>https://studylog.hateblo.jp/entry/2016/01/25/134507</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
