Central Feature of Texts and Images

CentralFeature works not only with numeric inputs, but also with locations, images, dates and texts. For each allowed input type, an applicable DistanceFunction is used.

The Wolfram Language provides word translations to many world languages, among them most of the Slavic languages.

Now find translations of the word "tree" to all these Slavic languages.

Process to eliminate lists.

Now find the Slavic tree.

Find all the languages that use this word.

Compute distances to the data points.

Now consider the words to be images and find the central one.

By default, the central feature on the list of images will first apply ConformImages and then use ImageDistance as the distance function.

The word corresponding to this image belongs to a different language.

Related Examples

ja zh