count_words
Measure word count in text files for English or Japanese. Specify the file path in Windows or WSL/Linux format. Uses morphological analysis for Japanese and space separation for English.
Instructions
ファイルの単語数を計測します。絶対パスを指定してください(Windows形式 C:\Users...、またはWSL/Linux形式 /c/Users/... のどちらも可)。英語ではスペースで区切られた単語をカウントし、日本語では形態素解析を使用します。
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filePath | Yes | 単語数をカウントするファイルのパス(Windows形式かWSL/Linux形式の絶対パスを推奨) | |
language | No | ファイルの言語 (en: 英語, ja: 日本語) | en |