DV
pip install git+https://github.com/bureaucratic-labs/yargy.git
pip install git+https://github.com/bureaucratic-labs/natasha.git
Size: a a a
DV
pip install git+https://github.com/bureaucratic-labs/yargy.git
pip install git+https://github.com/bureaucratic-labs/natasha.git
NT
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/3m/6d7qbb1j2sqd9tnm3flm87fm0000gn/T/pip-5OPpa6-build/
python setup.py install, поставилось
NT
NT
#coding=utf-8`
from natasha import Combinator
from natasha.grammars import Person
text = "Иван иванович иванов меняет..."
print text
combinator = Combinator([Person])
matches = combinator.extract(text)
for grammar, tokens in combinator.resolve_matches(matches):
print(grammar, tokens)
DV
NT
DV
# coding: utf-8
from __future__ import unicode_literals
NT
NT
DV
u
перед кавычками)NT
NT
DV
natasha/grammars/pipelines.py
), score
возвращает pymorphy2, мы его не меняем.NT
natasha/grammars/pipelines.py
), score
возвращает pymorphy2, мы его не меняем.NT
DV
DV
NT