Skip to content

Instantly share code, notes, and snippets.

@kiichi54321
Created October 30, 2012 14:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kiichi54321/3980609 to your computer and use it in GitHub Desktop.
Save kiichi54321/3980609 to your computer and use it in GitHub Desktop.
Rawler で、文章の中の指定の単語の数を数える。
<Data Comment=""
xmlns="clr-namespace:Rawler.Tool;assembly=Rawler"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:m="clr-namespace:RawlerMecab;assembly=RawlerMecab"
xmlns:t="clr-namespace:RawlerTwitter;assembly=RawlerTwitter"
>
<CountData DoSave="True" FileName="顔文字カウント.tsv">
<TsvReadLines>
<GetTsvValue ColumnName="Text">
<m:WordsCount>
<m:WordsCount.SouceIterator>
<Iterator>
<Iterator.SourceTree>
<FileReadLines >
<IteratorSourceAddText></IteratorSourceAddText>
</FileReadLines>
</Iterator.SourceTree>
</Iterator>
</m:WordsCount.SouceIterator>
<CountAdd>
<CountAdd.GroupTree>
<GetTsvValue ColumnName="ScreenName"></GetTsvValue>
</CountAdd.GroupTree>
</CountAdd>
</m:WordsCount>
</GetTsvValue>
</TsvReadLines>
</CountData>
</Data>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment