The other day, we released the spaCy plugin Camphr version 0.5.20. The main feature of this time is [universal dependency] from the analysis result of KNP implemented by Professor Koichi Yasuoka of Kyoto University. It is a function to output the label of (https://universaldependencies.org/). This article will briefly introduce how to use it.
$ pip install camphr[juman]
import camphr import spacy nlp = camphr.load("knp") doc = nlp("Taro went to Mt. Fuji while eating apples and oranges.") spacy.displacy.render(doc)
It was easy, but the function introduction is over. In addition to UD, Camphr provides KNP-based functions such as named entity recognition. Please read the following documents for details. Camphr KNP document
This function was implemented by Professor Koichi Yasuoka of Kyoto University. Thank you for your cooperation.
docin the article.