ó <¿CVc@s*ddlmZdefd„ƒYZdS(iÿÿÿÿ(tDictionaryProbDisttClusterIcBsPeZdZed„Zd„Zd„Zd„Zd„Zd„Z d„Z RS(s< Interface covering basic clustering functionality. cCs tƒ‚dS(sš Assigns the vectors to clusters, learning the clustering parameters from the data. Returns a cluster identifier for each vector. N(tNotImplementedError(tselftvectorstassign_clusters((sb/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/cluster/api.pytclusterscCs tƒ‚dS(s€ Classifies the token into a cluster, setting the token's CLUSTER parameter to that cluster identifier. N(R(Rttoken((sb/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/cluster/api.pytclassifyscCs!|j|ƒ|krdSdSdS(si Returns the likelihood (a float) of the token having the corresponding cluster. gð?gN(R(Rtvectortlabel((sb/private/var/folders/cc/xm4nqn811x9b50x1q_zpkmvdjlphkp/T/pip-build-FUwmDn/nltk/nltk/cluster/api.pyt likelihoodscCsxi}d}x8|jƒD]*}|j||ƒ||<|||7}qWx$|jƒD]}||c|: s