def get_language_index(lang_code, feature_database): return np.where(feature_database["langs"] == lang_code)[0][0]