def language_name(self, text: str) -> str:
        """Predict the programming language name of the given source code.

        :param text: source code.
        :return: language name
        """
        values = extract(text)
        input_fn = _to_func(([values], []))
        pos: int = next(self._classifier.predict_classes(input_fn=input_fn))

        LOGGER.debug("Predicted language position %s", pos)
        return sorted(self.languages)[pos]