Japanese Text Analyzer
Summary
A server that provides Japanese text analysis capabilities through morphological parsing using the Kuromoji library. It enables AI assistants to break down Japanese sentences into their component parts, identifying words, their grammatical functions, readings, and base forms. This implementation makes it possible to analyze complex Japanese text structures programmatically through the MCP protocol, making it valuable for language learning applications, translation tools, and natural language processing tasks that require detailed understanding of Japanese grammar and vocabulary.
Available Actions(6)
count_chars
Counts the number of characters in a file, excluding spaces and line breaks. Input: filePath (string): The absolute path of the file.
count_words
Counts the number of words in a file using morphological analysis for Japanese and space-separated words for English. Input: filePath (string): The absolute path of the file, language (string, optional, default: 'en').
count_clipboard_chars
Counts the number of characters in a given text, excluding spaces and line breaks. Input: text (string): The text to count characters.
count_clipboard_words
Counts the number of words in a given text using morphological analysis for Japanese and space-separated words for English. Input: text (string): The text to count words, language (string, optional, default: 'en').
analyze_text
Performs detailed morphological analysis and linguistic feature analysis of a given text. Input: text (string): The text to analyze.
analyze_file
Performs detailed morphological analysis and linguistic feature analysis of a file. Input: filePath (string): The absolute path of the file to analyze.
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论