Prabin Bhandari commited on
Commit
0a442a2
1 Parent(s): 1d4befc

Minor updates

Browse files
Files changed (2) hide show
  1. README.md +1 -1
  2. cooccurrence_count.py +1 -1
README.md CHANGED
@@ -22,7 +22,7 @@ This measuresment requires a list of strings as input data along with two string
22
  ```python
23
  >>> data = ["hello sun","hello moon", "hello sun"]
24
  >>> c_count = evaluate.load("prb977/cooccurrence_count")
25
- >>> results = c_count.compute(references=data, word1='hello', word2='sun')
26
  >>>
27
  ```
28
 
 
22
  ```python
23
  >>> data = ["hello sun","hello moon", "hello sun"]
24
  >>> c_count = evaluate.load("prb977/cooccurrence_count")
25
+ >>> results = c_count.compute(data=data, word1='hello', word2='sun')
26
  >>>
27
  ```
28
 
cooccurrence_count.py CHANGED
@@ -41,7 +41,7 @@ Returns:
41
  Examples:
42
  >>> data = ["hello sun","hello moon", "hello sun"]
43
  >>> c_count = evaluate.load("prb977/cooccurrence_count")
44
- >>> results = c_count.compute(references=data, word1='hello', word2='sun')
45
  >>> print(results)
46
  {'count': 3, 'co_occurrence_count': 2}
47
  """
 
41
  Examples:
42
  >>> data = ["hello sun","hello moon", "hello sun"]
43
  >>> c_count = evaluate.load("prb977/cooccurrence_count")
44
+ >>> results = c_count.compute(data=data, word1='hello', word2='sun')
45
  >>> print(results)
46
  {'count': 3, 'co_occurrence_count': 2}
47
  """