ckipnlp.util.data module

This module implements data loading utilities for CKIPNLP.

class ckipnlp.util.data.TaggerData[source]

Bases: ckipnlp.util.data._DataBase

name = 'tagger'
fullname = 'CkipTagger'
env = 'CKIPTAGGER_DATA'
extra_dirs = ('./data',)
classmethod user_data_dir()[source]
classmethod site_data_dir()[source]
ckipnlp.util.data.get_tagger_data()

Get CkipTagger data directory.

ckipnlp.util.data.install_tagger_data(src_dir, *, copy=False)

Link/Copy CkipTagger data directory.

ckipnlp.util.data.download_tagger_data()

Download CkipTagger data directory.