SpaCy-UDpipe负载定制模型colab

时间:2020-06-24 09:09:52

标签: model google-colaboratory spacy udpipe

我正在尝试将自定义spacy-udpipe模型加载到Google colab中。 我尝试过

for guest in guest_list:
    name = guest[0]
    age = guest[1]
    job = guest[2]
    print(f"{name} is {age} years old and he is a {job}")
!pip install ufal.udpipe

!pip install spacy-udpipe


但是我收到以下错误消息:NameError:未定义名称'udpipe_download_model'。

任何人都可以帮忙吗? 谢谢

1 个答案:

答案 0 :(得分:0)

import spacy_udpipe

spacy_udpipe.download("name_of_model_to_download")