The -n param option specifies the number of edges in the ego graph, but it looks like in the code this param is accidentally ignored. This param is passed through to word_sense_induction.py#L66 as max_related, but that param is never read. It looks like the intention is to set the global var n to that value, and then use that in word_sense_induction.py#L56 to limit the size of the cluster. However, this is never set in the code and n remains set to None.
The
-n
param option specifies the number of edges in the ego graph, but it looks like in the code this param is accidentally ignored. This param is passed through to word_sense_induction.py#L66 asmax_related
, but that param is never read. It looks like the intention is to set the global varn
to that value, and then use that in word_sense_induction.py#L56 to limit the size of the cluster. However, this is never set in the code andn
remains set toNone
.