Skip to content

Commit

Permalink
updated docstrings for create_dictionaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelassay committed Feb 28, 2017
1 parent ff8e13c commit c9644a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions dariah_topics/preprocessing.py
Expand Up @@ -417,12 +417,16 @@ def create_dictionaries(doc_labels, doc_tokens):
"""create_large_TF_matrix
Note:
Use get_labels to create doc_labels and use tokenize to create doc_tokens.
Creates two dictionaries. One with keys = token : value = id pairs. And one with
keys = document label : value = id pairs.
Args:
doc_labels(list): List of doc labels as string.
doc_tokens(list): List of tokens as string.
Returns:
Two dictionaries, one with token : id pairs and one with doc_label : id pairs.
ToDo:
"""
Expand Down

0 comments on commit c9644a5

Please sign in to comment.