赞
踩
TRAIN_DATA = [
("房祖名 是 成龙 的 儿子", {
'heads': [1,1,4,3,1],
'deps': ['nsubj','ROOT','amod','prep','pobj']
})
]
from __future__ import unicode_literals, print_function
import plac
import random
from pathlib import Path
import spacy
from spacy.training import Example
from spacy.pipeline.dep_parser import DEFAULT_PARSER_MODEL
@plac.annotations(
model=("Model name. Defaults to blank 'en' model."</
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。