MedElevator Войти в исследования
← Поиск публикаций

DOI 10.1016/j.bandl.2024.105392

Медицинская библиотека · Brain and language · 2024

Contribution of the language network to the comprehension of Python programming code.

Liu Yun-Fei, Wilson Colin, Bedny Marina

СтатьяПеревод пока не подготовлен

Аннотация

Does the perisylvian language network contribute to comprehension of programming languages, like Python? Univariate neuroimaging studies find high responses to code in fronto-parietal executive areas but not in fronto-temporal language areas, suggesting the language network does little. We used multivariate-pattern-analysis to test whether the language network encodes Python functions. Python programmers read functions while undergoing fMRI. A linear SVM decoded for-loops from if-conditionals based on activity in lateral temporal (LT) language cortex. In searchlight analysis, decoding accuracy was higher in LT language cortex than anywhere else. Follow up analysis showed that decoding was not driven by presence of different words across functions, "for" vs "if," but by compositional program properties. Finally, univariate responses to code peaked earlier in LT language-cortex than in the fronto-parietal network. We propose that the language system forms initial "surface meaning" representations of programs, which input to the reasoning network for processing of algorithms.

Для цитирования: Liu Yun-Fei, Wilson Colin, Bedny Marina. Contribution of the language network to the comprehension of Python programming code.. Brain and language. 2024. DOI: 10.1016/j.bandl.2024.105392.

Предметные рубрики MeSH

Подготовка и перевод публикации
Обработка статьи · этапы, ошибки и управление
Загрузка состояния…

История · было → стало

Состояние обновляется каждые 5 секунд, пока блок открыт. Процент показывается только там, где известен объём работы. Пауза останавливает продолжение этапа; текущий запрос к источнику может завершиться.

Тип публикации указан по данным источника. Уровень доказательности автоматически не присваивается.