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.
Nessuna recensione ancora. Sii il primo a recensire!
Accedi per unirti alla conversazione
Measures the number of characters in a file, excluding spaces and line breaks. Input: filePath (string): Path to the file (absolute path recommended in Windows or WSL/Linux format). Output: Number of characters.
Counts the number of words in a file using space as a delimiter for English and morphological analysis for Japanese. Input: filePath (string): Path to the file; language (string, optional, default: 'en'): Language of the file (en: English, ja: Japanese). Output: Number of words and detailed morphological analysis results for Japanese mode.
Measures the number of characters in the provided text, excluding spaces and line breaks. Input: text (string): Text to count characters. Output: Number of characters.
Counts the number of words in the provided text using space as a delimiter for English and morphological analysis for Japanese. Input: text (string): Text to count words; language (string, optional, default: 'en'): Language of the text (en: English, ja: Japanese). Output: Number of words and detailed morphological analysis results for Japanese mode.
Performs detailed morphological analysis and linguistic feature analysis of the provided text. Input: text (string): Text to analyze. Output: Basic information (total number of characters, number of sentences, total number of morphemes) and detailed analysis results (average sentence length, ratio of parts of speech, ratio of character types, vocabulary diversity, etc.).
Performs detailed morphological analysis and linguistic feature analysis of the specified file. Input: filePath (string): Path to the file. Output: Basic information (total number of characters, number of sentences, total number of morphemes) and detailed analysis results (average sentence length, ratio of parts of speech, ratio of character types, vocabulary diversity, etc.).