Skip to content

Commit

Permalink
GH-1378: dictionary is now printable
Browse files Browse the repository at this point in the history
  • Loading branch information
alanakbik authored Jan 24, 2020
1 parent 918ac99 commit 16d9890
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/docs/TUTORIAL_7_TRAINING_A_MODEL.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tag_type = 'ner'

# 3. make the tag dictionary from the corpus
tag_dictionary = corpus.make_tag_dictionary(tag_type=tag_type)
print(tag_dictionary.idx2item)
print(tag_dictionary)

# 4. initialize embeddings
embedding_types: List[TokenEmbeddings] = [
Expand Down Expand Up @@ -187,7 +187,7 @@ tag_type = 'upos'

# 3. make the tag dictionary from the corpus
tag_dictionary = corpus.make_tag_dictionary(tag_type=tag_type)
print(tag_dictionary.idx2item)
print(tag_dictionary)

# 4. initialize embeddings
embedding_types: List[TokenEmbeddings] = [
Expand Down

0 comments on commit 16d9890

Please sign in to comment.