An implementation of Brown Clustering