+
    ÖÇÜh(  ã                   ó:   € ^ RI HtHt ^ RIHt  ! R R]R7      tR# )é    )ÚABCMetaÚabstractmethod)ÚDictionaryProbDistc                   óp   a € ] tR t^t o Rt]RR l4       t]R 4       tR tR t	]R 4       t
R tR tR	tV tR
# )ÚClusterIz4
Interface covering basic clustering functionality.
c                ó   € R# )z‚
Assigns the vectors to clusters, learning the clustering parameters
from the data. Returns a cluster identifier for each vector.
N© )ÚselfÚvectorsÚassign_clusterss   &&&Ú2/usr/lib/python3/dist-packages/nltk/cluster/api.pyÚclusterÚClusterI.cluster   ó   ‚ ó    c                ó   € R# )zh
Classifies the token into a cluster, setting the token's CLUSTER
parameter to that cluster identifier.
Nr	   )r
   Útokens   &&r   ÚclassifyÚClusterI.classify   r   r   c                ó6   € V P                  V4      V8X  d   R# R# )zQ
Returns the likelihood (a float) of the token having the
corresponding cluster.
g      ð?ç        )r   )r
   ÚvectorÚlabels   &&&r   Ú
likelihoodÚClusterI.likelihood!   s   € ð
 �=‰=˜Ó  EÔ)Ùár   c                óè   € / pRpV P                  4        F%  pV P                  W4      W$&   W2V,          ,          pK'  	  V P                  4        F  pW$;;,          V,          uu&   K  	  \        V4      # )zi
Classifies the token into a cluster, returning
a probability distribution over the cluster identifiers.
r   )Úcluster_namesr   r   )r
   r   ÚlikelihoodsÚsumr   s   &&   r   Úclassification_probdistÚ ClusterI.classification_probdist+   sm   € ð
 ˆØˆØ×)Ñ)Ö+ˆGØ#'§?¡?°6Ó#CˆKÑ Ø˜wÕ'Õ'ŠCñ ,ð ×)Ñ)Ö+ˆGØ×  CÕ'Õ ñ ,ä! +Ó.Ð.r   c                ó   € R# )z!
Returns the number of clusters.
Nr	   ©r
   s   &r   Únum_clustersÚClusterI.num_clusters9   r   r   c                óF   € \        \        V P                  4       4      4      # )z1
Returns the names of the clusters.
:rtype: list
)ÚlistÚranger$   r#   s   &r   r   ÚClusterI.cluster_names?   s   € ô
 ”E˜$×+Ñ+Ó-Ó.Ó/Ð/r   c                ó   € V# )z,
Returns the names of the cluster at index.
r	   )r
   Úindexs   &&r   Úcluster_nameÚClusterI.cluster_nameF   s	   € ð ˆr   r	   N)F)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   r   r    r$   r   r,   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s_   ø‡ € ñð óó ðð ñó ðòò/ð ñó ðò
0÷ð r   r   )Ú	metaclassN)Úabcr   r   Únltk.probabilityr   r   r	   r   r   Ú<module>r9      s   ð÷ (å /ô<˜÷ <r   