Skip to content
Discussion options

You must be logged in to vote

The Japanese models have support for part of speech tags just like any other models, I'm not sure what you're talking about.

import spacy

nlp = spacy.load("ja_core_news_sm")

doc = nlp("わたくしという現象は仮定された有機交流電燈のひとつの青い照明です")

for word in doc:
    print(word, word.pos_, word.tag_, sep="\t")

Does that not work for you?

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@polm
Comment options

@KTRosenberg
Comment options

@polm
Comment options

@KTRosenberg
Comment options

@polm
Comment options

Answer selected by adrianeboyd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang / ja Japanese language data and models feat / tagger Feature: Part-of-speech tagger
2 participants