Skip to content
This repository was archived by the owner on Feb 22, 2021. It is now read-only.

Commit d5d3d28

Browse files
Philipp Dowlingphdowling
Philipp Dowling
authored andcommitted
added -r parameter for entity min count
1 parent 378c749 commit d5d3d28

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

resources/gensim/gensim_word2vec.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ def main():
5555
type="int",
5656
help="min number of apperances",)
5757

58+
parser.add_option("-e", "--entity_min_count",
59+
action="store",
60+
dest="entity_min_count",
61+
default=5,
62+
type="int",
63+
help="min number of apperances for DBpedia entities",)
64+
5865
parser.add_option("-s", "--size",
5966
action="store",
6067
dest="size",

0 commit comments

Comments
 (0)