Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
hankcs committed Jan 2, 2020
1 parent ca44c04 commit ba38427
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion hanlp/components/tok.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import tensorflow as tf

from hanlp.common.component import KerasComponent
from hanlp.common.transform import Transform
from hanlp.components.taggers.ngram_conv.ngram_conv_tagger import NgramTransform, NgramConvTagger
from hanlp.components.taggers.rnn_tagger import RNNTagger
from hanlp.components.taggers.transformers.transformer_tagger import TransformerTagger
Expand Down
3 changes: 1 addition & 2 deletions tests/train/zh/cws/train_pku980106_rnn_cws.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
# Date: 2019-12-21 15:39
import tensorflow as tf

from hanlp.components.tok import NgramConvTokenizer, RNNTokenizer
from hanlp.datasets.cws.sighan2005.pku import SIGHAN2005_PKU_TEST, SIGHAN2005_PKU_VALID
from hanlp.components.tok import RNNTokenizer
from hanlp.pretrained.word2vec import RADICAL_CHAR_EMBEDDING_100
from tests import cdroot

Expand Down

0 comments on commit ba38427

Please sign in to comment.