|
tf_stop
tf_stop (text, stop_list)
|
Added in advas.0.0.3
Calculates the term frequency for a given text and removes the items given in a stop list.
In: |
text |
a line of text (string) |
|
stop_list |
a list (dictionary) with pairs list[item]=value |
Out: |
|
a list (dictionary) with pairs list[term]=frequency |
|
|