<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	エクセルVBAで分かち書き、単語の頻度分析を行う方法！テキストマイニング、形態素分析 へのコメント	</title>
	<atom:link href="https://nujonoa.com/how-to-do-text-mining-with-excel/feed/" rel="self" type="application/rss+xml" />
	<link>https://nujonoa.com/how-to-do-text-mining-with-excel/</link>
	<description>人生に役立つデータ集</description>
	<lastBuildDate>Thu, 22 Dec 2022 01:55:59 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>
		nujonoa より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-533</link>

		<dc:creator><![CDATA[nujonoa]]></dc:creator>
		<pubDate>Thu, 22 Dec 2022 01:55:59 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-533</guid>

					<description><![CDATA[&lt;a href=&quot;https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-532&quot;&gt;K&lt;/a&gt; への返信。

問題が解決したようでよかったです。
また、問題点をご教授いただきありがとうございます！

いえいえ、是非、業務にお役立ていただければと思います！
完璧に趣味でやっているだけですけど、また何かあればご連絡いただければ対応させていただきます！]]></description>
			<content:encoded><![CDATA[<p><a href="https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-532">K</a> への返信。</p>
<p>問題が解決したようでよかったです。<br />
また、問題点をご教授いただきありがとうございます！</p>
<p>いえいえ、是非、業務にお役立ていただければと思います！<br />
完璧に趣味でやっているだけですけど、また何かあればご連絡いただければ対応させていただきます！</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		K より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-532</link>

		<dc:creator><![CDATA[K]]></dc:creator>
		<pubDate>Thu, 22 Dec 2022 01:17:44 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-532</guid>

					<description><![CDATA[&lt;a href=&quot;https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-531&quot;&gt;nujonoa&lt;/a&gt; への返信。

迅速にご確認頂きありがとうございます。

頂いた内容を基に、該当箇所の確認を行ったところ、
「=」（半角）が複数続いている or 単体の場合エラーが出ている様でした。

その為、全体置換で「=」（半角）→「＝」（全角）に置き換えたところ、エラー無く無事進めることが出来る様になりました。

メールでのご連絡は業務上の扱いとなる為、
差し上げることが出来ず申し訳ございませんが、
お礼と備忘と併せてこちらにご記載をさせて頂きます。

ありがとうございます。]]></description>
			<content:encoded><![CDATA[<p><a href="https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-531">nujonoa</a> への返信。</p>
<p>迅速にご確認頂きありがとうございます。</p>
<p>頂いた内容を基に、該当箇所の確認を行ったところ、<br />
「=」（半角）が複数続いている or 単体の場合エラーが出ている様でした。</p>
<p>その為、全体置換で「=」（半角）→「＝」（全角）に置き換えたところ、エラー無く無事進めることが出来る様になりました。</p>
<p>メールでのご連絡は業務上の扱いとなる為、<br />
差し上げることが出来ず申し訳ございませんが、<br />
お礼と備忘と併せてこちらにご記載をさせて頂きます。</p>
<p>ありがとうございます。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		nujonoa より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-531</link>

		<dc:creator><![CDATA[nujonoa]]></dc:creator>
		<pubDate>Wed, 21 Dec 2022 06:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-531</guid>

					<description><![CDATA[&lt;a href=&quot;https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-530&quot;&gt;K&lt;/a&gt; への返信。

ご連絡ありがとうございます。

wd.Selection.Words(i).text

が、エラーとなると、
ワードでその文章がきちんと区分けできていない可能性ありです。
もしよろしければ、該当する文章を教えていただけると幸いです。
※blueinfinity4ever@gmail.comまでご連絡いただければと思います。]]></description>
			<content:encoded><![CDATA[<p><a href="https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-530">K</a> への返信。</p>
<p>ご連絡ありがとうございます。</p>
<p>wd.Selection.Words(i).text</p>
<p>が、エラーとなると、<br />
ワードでその文章がきちんと区分けできていない可能性ありです。<br />
もしよろしければ、該当する文章を教えていただけると幸いです。<br />
※blueinfinity4ever@gmail.comまでご連絡いただければと思います。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		K より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-530</link>

		<dc:creator><![CDATA[K]]></dc:creator>
		<pubDate>Wed, 21 Dec 2022 04:52:27 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-530</guid>

					<description><![CDATA[&lt;a href=&quot;https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-145&quot;&gt;nujonoa&lt;/a&gt; への返信。

ana様と同様のエラーが出ております。
エラーコードは1004です。
J = 1 To 1000までとしており、それぞれ+990を打ち込んでおります。
該当エラーヶ所の次の行のZの値が7となっている為、
Zの値の計算関連でエラーが出ているのかと思うのですが、
解決が出来ていない状況です。

ご確認頂けますと幸いです。よろしくお願い致します。]]></description>
			<content:encoded><![CDATA[<p><a href="https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-145">nujonoa</a> への返信。</p>
<p>ana様と同様のエラーが出ております。<br />
エラーコードは1004です。<br />
J = 1 To 1000までとしており、それぞれ+990を打ち込んでおります。<br />
該当エラーヶ所の次の行のZの値が7となっている為、<br />
Zの値の計算関連でエラーが出ているのかと思うのですが、<br />
解決が出来ていない状況です。</p>
<p>ご確認頂けますと幸いです。よろしくお願い致します。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		nujonoa より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-150</link>

		<dc:creator><![CDATA[nujonoa]]></dc:creator>
		<pubDate>Tue, 21 Sep 2021 00:08:17 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-150</guid>

					<description><![CDATA[&lt;a href=&quot;https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-149&quot;&gt;Yuka&lt;/a&gt; への返信。

お世話になっております。

本件、ワードの機能で「単語をくぎる」機能があるので、
ワードを用いて実践しています。

ワードを使わない場合は難しいかと思います。
お役に立てず申し訳ございません。。]]></description>
			<content:encoded><![CDATA[<p><a href="https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-149">Yuka</a> への返信。</p>
<p>お世話になっております。</p>
<p>本件、ワードの機能で「単語をくぎる」機能があるので、<br />
ワードを用いて実践しています。</p>
<p>ワードを使わない場合は難しいかと思います。<br />
お役に立てず申し訳ございません。。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		Yuka より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-149</link>

		<dc:creator><![CDATA[Yuka]]></dc:creator>
		<pubDate>Fri, 17 Sep 2021 04:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-149</guid>

					<description><![CDATA[仕事で使います。こちらはExcelからワードでファイルを開くような感じだと思うのですが、この分割をエクセル内だけで行いたい時はどうすれば良いでしょうか？VBAが全くわからず、苦戦しています。よろしくお願いいたします。]]></description>
			<content:encoded><![CDATA[<p>仕事で使います。こちらはExcelからワードでファイルを開くような感じだと思うのですが、この分割をエクセル内だけで行いたい時はどうすれば良いでしょうか？VBAが全くわからず、苦戦しています。よろしくお願いいたします。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		N より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-147</link>

		<dc:creator><![CDATA[N]]></dc:creator>
		<pubDate>Sat, 04 Sep 2021 03:00:21 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-147</guid>

					<description><![CDATA[素晴らしい！]]></description>
			<content:encoded><![CDATA[<p>素晴らしい！</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		nujonoa より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-145</link>

		<dc:creator><![CDATA[nujonoa]]></dc:creator>
		<pubDate>Sun, 06 Jun 2021 12:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-145</guid>

					<description><![CDATA[&lt;a href=&quot;https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-143&quot;&gt;ana&lt;/a&gt; への返信。

すみません、返信遅くなりました。

どのようなエラーが出たか教えていただくこと可能でしょうか？
お手数おかけいたしますが、よろしくお願い致します。]]></description>
			<content:encoded><![CDATA[<p><a href="https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-143">ana</a> への返信。</p>
<p>すみません、返信遅くなりました。</p>
<p>どのようなエラーが出たか教えていただくこと可能でしょうか？<br />
お手数おかけいたしますが、よろしくお願い致します。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		ana より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-143</link>

		<dc:creator><![CDATA[ana]]></dc:creator>
		<pubDate>Tue, 01 Jun 2021 05:56:13 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-143</guid>

					<description><![CDATA[はじめました。
とても役立ちそうです
是非使いたいと思い、
使用させて頂いたのですが
Cells(i + 1, J + 1) = wd.Selection.Words(i)

ここの箇所でエラーが出てしまいまして、
なにか解決策はありますでしょうか。]]></description>
			<content:encoded><![CDATA[<p>はじめました。<br />
とても役立ちそうです<br />
是非使いたいと思い、<br />
使用させて頂いたのですが<br />
Cells(i + 1, J + 1) = wd.Selection.Words(i)</p>
<p>ここの箇所でエラーが出てしまいまして、<br />
なにか解決策はありますでしょうか。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		nujonoa より		</title>
		<link>https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-127</link>

		<dc:creator><![CDATA[nujonoa]]></dc:creator>
		<pubDate>Tue, 16 Mar 2021 23:26:13 +0000</pubDate>
		<guid isPermaLink="false">http://nujonoa.com/?p=7218#comment-127</guid>

					<description><![CDATA[&lt;a href=&quot;https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-124&quot;&gt;makotu&lt;/a&gt; への返信。

ご連絡ありがとうございます！
返信が遅れてしまい、申し訳ございません。

単純な分かち書きだけなら、

For J = 1 To 10
⇒
For J = 1 To 12

にすることで可能になります。

また、単語の頻度を計算するとなると、
そこも変える必要があるので、下記の通りすべて右に2行ずらす必要があります。

変更前　　　　⇒　変更後
Cells(Z, 12)　⇒　Cells(Z, 12+2)　
Cells(Z, 13)　⇒　Cells(Z, 13+2)
Cells(Z, 14)　⇒　Cells(Z, 14+2)

変更前　　　　　⇒　変更後
&quot;$M$2:$M$10000&quot;　⇒　&quot;$O$2:$O$10000&quot;
&quot;=SUMPRODUCT((M2=$L$2:$L$&quot; &amp; Z &amp; &quot;)*1)&quot; ⇒　&quot;=SUMPRODUCT((O2=$N$2:$N$&quot; &amp; Z &amp; &quot;)*1)&quot;]]></description>
			<content:encoded><![CDATA[<p><a href="https://nujonoa.com/how-to-do-text-mining-with-excel/#comment-124">makotu</a> への返信。</p>
<p>ご連絡ありがとうございます！<br />
返信が遅れてしまい、申し訳ございません。</p>
<p>単純な分かち書きだけなら、</p>
<p>For J = 1 To 10<br />
⇒<br />
For J = 1 To 12</p>
<p>にすることで可能になります。</p>
<p>また、単語の頻度を計算するとなると、<br />
そこも変える必要があるので、下記の通りすべて右に2行ずらす必要があります。</p>
<p>変更前　　　　⇒　変更後<br />
Cells(Z, 12)　⇒　Cells(Z, 12+2)　<br />
Cells(Z, 13)　⇒　Cells(Z, 13+2)<br />
Cells(Z, 14)　⇒　Cells(Z, 14+2)</p>
<p>変更前　　　　　⇒　変更後<br />
"$M$2:$M$10000"　⇒　"$O$2:$O$10000"<br />
"=SUMPRODUCT((M2=$L$2:$L$" &#038; Z &#038; ")*1)" ⇒　"=SUMPRODUCT((O2=$N$2:$N$" &#038; Z &#038; ")*1)"</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
