Shared Neural Computations for Syntactic and Morphological Structures: Evidence From Mandarin Chinese.
2 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 3 matches
- [1] § Methods › EEG data analysis › Topographical similarity analysis ↔ script/analysis_toposim.m, lines 216 to 265 · score 0.58 · temporal adjacency, fdr_bh, clusters · block
oscr:b:4AFKJ2N71AQNH-8· Report a mismatch - [2] § Methods › EEG data analysis ↔ script/analysis_ERP.m, lines 98 to 164 · score 0.53 · compound nouns, simplex nouns, inseparable verbs, EEGLAB, 100 uV, ERPs · block
oscr:b:GQQ0J8X0JS18Z-P· Report a mismatch - [3] § Results › ERP analysis: The LAN time window (275:400 ms) ↔ script/analysis_ERP.m, lines 98 to 164 · score 0.50 · compound nouns, simplex nouns, Grand, inseparable verbs, ROI, ERP · block
oscr:b:GQQ0J8X0JS18Z-P· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
MATLAB · 239 lines · 8.9 KB · no license · 2 matches
- %% Script for ERP analyses and plotting
- % Author: Xinchi Yu
- % last checked on Sep. 20, 2024.
- clear all;
- sub_list = 1:24;
- %% 1 - Get ERP data within the 275-400 ms time window acorss 5 ROIs
- eeglab;
- file_path = '../data/EEG/';
- ROIs = {...
- {'F3','F7','FC5','FC7','FT9'},...
- {'F4','F8','FC2','FC6','FT10'},...
- {'T7','CP5','P7','P3','TP9'},...
- {'CP6','T8','P4','P8','TP10'},...
- {'CP1','CP2','Pz','C3','C4'}...
- };
- conditions = {'separable ','non_separable ','train ','coffee'};
- tw = [275 400]; % time window, cf. Wei et al., 2023
- all_ERP_ROI = [];
- % "artifacts" records the number of kept trials for each condition and subject after artefact rejection.
- clear artifacts;
- for iROI=1:1:size(ROIs,2)
- artifact_coffee = [];artifact_train = [];artifact_sep = [];artifact_nonsep = [];
- for i=1:1:length(sub_list)
- this_ERP = pop_loaderp('filename', ['MTSHA' num2str(sub_list(i)) '_avref.erp'], 'filepath', file_path);
- times = this_ERP.times;
- ROI = ROIs{iROI};
- ROI_idx = find(ismember({this_ERP.chanlocs.labels},ROI));
- this_ERP_ROI = squeeze(mean(this_ERP.bindata(ROI_idx,:,:),1));
- % this_ERP_ROI shape: time points x conditions [i.e., bins]
- all_ERP_ROI(iROI,i,:,:) = this_ERP_ROI;
- % shape: ROI x subject x time points x conditions
- % 1-coffee; 2-train; 3-separable; 4-inseparable
- artifact_coffee = [artifact_coffee this_ERP.ntrials.accepted(1)];
- artifact_train = [artifact_train this_ERP.ntrials.accepted(2)];
- artifact_sep = [artifact_sep this_ERP.ntrials.accepted(3)];
- artifact_nonsep = [artifact_nonsep this_ERP.ntrials.accepted(4)];
- end
- artifacts{iROI} = [artifact_coffee;artifact_train;artifact_sep;artifact_nonsep]';
- end
- conditions_idx = [];
- for i=1:1:length(conditions)
- conditions_idx(i) = find(ismember(this_ERP.bindescr,conditions{i}));
- end
- % here 1,2,3,4 is assigned according to the order in conditions = {'separable ','non_separable ','train ','coffee'};
- coffee_ERP_ROI = all_ERP_ROI(:,:,:,conditions_idx(4));
- coffee_ERP_ROI = permute(coffee_ERP_ROI, [1 3 2]);
- train_ERP_ROI = all_ERP_ROI(:,:,:,conditions_idx(3));
- train_ERP_ROI = permute(train_ERP_ROI, [1 3 2]);
- sep_ERP_ROI = all_ERP_ROI(:,:,:,conditions_idx(1));
- sep_ERP_ROI = permute(sep_ERP_ROI, [1 3 2]);
- nonsep_ERP_ROI = all_ERP_ROI(:,:,:,conditions_idx(2));
- nonsep_ERP_ROI = permute(nonsep_ERP_ROI, [1 3 2]);
- % time window analysis
- tw_idx = find((times>=tw(1) & times<=tw(2))==1);
- coffee_ERP_ROI_tw = squeeze(mean(coffee_ERP_ROI(:,tw_idx,:),2));
- train_ERP_ROI_tw = squeeze(mean(train_ERP_ROI(:,tw_idx,:),2));
- sep_ERP_ROI_tw = squeeze(mean(sep_ERP_ROI(:,tw_idx,:),2));
- nonsep_ERP_ROI_tw = squeeze(mean(nonsep_ERP_ROI(:,tw_idx,:),2));
- all_ROI_tw = [train_ERP_ROI_tw', coffee_ERP_ROI_tw', sep_ERP_ROI_tw', nonsep_ERP_ROI_tw'];
- all_ROI_tw = array2table(all_ROI_tw, 'VariableNames', {'compR1','compR2','compR3','compR4','compR5',...
- 'simpR1','simpR2','simpR3','simpR4','simpR5',...
- 'sepR1','sepR2','sepR3','sepR4','sepR5',...
- 'nonsepR1','nonsepR2','nonsepR3','nonsepR4','nonsepR5',...
- });
- all_ROI_tw.sub = sub_list';
- writetable(all_ROI_tw,['../output/all_ROI_tw_' num2str(tw(1)) '_' num2str(tw(2)) '.csv']);
- %% 2 - Plot grand ERPs
- eeglab;
- figure;
- file_path = '../data/EEG/';
- ROIs = {{'F3','F7','FC5','FC7','FT9'}, {'F3','F7','FC5','FC7','FT9'},...
- {'CP1','CP2','Pz','C3','C4'}, {'CP1','CP2','Pz','C3','C4'}};
- conditionss = {{'separable ','non_separable '},{'train ','coffee'},...
- {'separable ','non_separable '},{'train ','coffee'}};
- captions = {{"separable verb","inseparable verb"},{"compound noun","simplex noun"},...
- {"separable verb","inseparable verb"},{"compound noun","simplex noun"}};
- ylims = {[-1.5,2.5],[-1.5,2.5],[-2.4,1.6],[-2.4,1.6]};
- for k=1:1:4
- ROI = ROIs{k}; conditions = conditionss{k}; caption = captions{k}; ylim_ = ylims{k};
- all_ERP_ROI = [];
- for i=1:1:length(sub_list)
- this_ERP = pop_loaderp('filename', ['MTSHA' num2str(sub_list(i)) '_avref.erp'], 'filepath', file_path);
- times = this_ERP.times;
- ROI_idx = find(ismember({this_ERP.chanlocs.labels},ROI));
- this_ERP_ROI = squeeze(mean(this_ERP.bindata(ROI_idx,:,:),1));
- % this_ERP_ROI shape: time points x conditions [i.e., bins]
- all_ERP_ROI(i,:,:) = this_ERP_ROI;
- end
- conditions_idx = [];
- for i=1:1:length(conditions)
- conditions_idx(i) = find(ismember(this_ERP.bindescr,conditions{i}));
- end
- condition1_ERP_ROI = all_ERP_ROI(:,:,conditions_idx(1));
- condition1_ERP_ROI = permute(condition1_ERP_ROI, [2 1]);
- condition2_ERP_ROI = all_ERP_ROI(:,:,conditions_idx(2));
- condition2_ERP_ROI = permute(condition2_ERP_ROI, [2 1]);
- subplot(2,2,k);
- % this is the shade behind:
- rectangle('Position', [275 -3 400-275 6], 'FaceColor', [204,205,198]/255, 'EdgeColor', [204,205,198]/255); hold on;
- % end
- plot(times, squeeze(mean(condition1_ERP_ROI,2)), '-', 'LineWidth',4); hold on;
- plot(times, squeeze(mean(condition2_ERP_ROI,2)), '-', 'LineWidth',4); hold on;
- legend(caption);
- ylabel('amplitude (μV)');
- xlabel('time (ms)');
- set(gca,'TickDir','out');
- set(gca, 'FontSize', 18); % 14
- ylim(ylim_);
- %ylim([0,3]);
- xlim([-201,801]);
- %set(gca,'xtick',-200:100:1800);
- set(gca, 'YDir','reverse');
- legend('boxoff');
- box off;
- colormap('parula');
- end
- %% 3 - Plot averaged response amplitude within time windows
- eeglab;
- figure;
- file_path = '../data/EEG/';
- ROIs = {{'F3','F7','FC5','FC7','FT9'},{'CP1','CP2','Pz','C3','C4'}};
- tws = {[275 400],[275 400]};
- ylims = {[-0.5,1.5],[-2.5,-0.5]};
- conditions = {'separable ','non_separable ','train ','coffee'};
- for k=1:1:2
- ROI = ROIs{k}; tw = tws{k}; ylim_ = ylims{k};
- all_ERP_ROI = [];
- for i=1:1:length(sub_list)
- this_ERP = pop_loaderp('filename', ['MTSHA' num2str(sub_list(i)) '_avref.erp'], 'filepath', file_path);
- times = this_ERP.times;
- ROI_idx = find(ismember({this_ERP.chanlocs.labels},ROI));
- this_ERP_ROI = squeeze(mean(this_ERP.bindata(ROI_idx,:,:),1));
- % this_ERP_ROI shape: time points x conditions [i.e., bins]
- all_ERP_ROI(i,:,:) = this_ERP_ROI;
- end
- conditions_idx = [];
- for i=1:1:length(conditions)
- conditions_idx(i) = find(ismember(this_ERP.bindescr,conditions{i}));
- end
- condition1_ERP_ROI = all_ERP_ROI(:,:,conditions_idx(1));
- condition1_ERP_ROI = permute(condition1_ERP_ROI, [2 1]);
- condition2_ERP_ROI = all_ERP_ROI(:,:,conditions_idx(2));
- condition2_ERP_ROI = permute(condition2_ERP_ROI, [2 1]);
- condition3_ERP_ROI = all_ERP_ROI(:,:,conditions_idx(3));
- condition3_ERP_ROI = permute(condition3_ERP_ROI, [2 1]);
- condition4_ERP_ROI = all_ERP_ROI(:,:,conditions_idx(4));
- condition4_ERP_ROI = permute(condition4_ERP_ROI, [2 1]);
- tw_idx = find((times>=tw(1) & times<=tw(2))==1);
- condition1_ERP_ROI_tw = mean(condition1_ERP_ROI(tw_idx,:),1);
- condition2_ERP_ROI_tw = mean(condition2_ERP_ROI(tw_idx,:),1);
- condition3_ERP_ROI_tw = mean(condition3_ERP_ROI(tw_idx,:),1);
- condition4_ERP_ROI_tw = mean(condition4_ERP_ROI(tw_idx,:),1);
- conds_ERP_ROI_tw = [condition1_ERP_ROI_tw', condition2_ERP_ROI_tw', condition3_ERP_ROI_tw', condition4_ERP_ROI_tw'];
- subplot(2,1,k);
- plot([1-0.1,2-0.1], [mean(condition1_ERP_ROI_tw);mean(condition2_ERP_ROI_tw)], '-','Color',[0,0,0],'linewidth', 2); hold on;
- plot([1+0.1,2+0.1], [mean(condition3_ERP_ROI_tw);mean(condition4_ERP_ROI_tw)], '-','Color',[0,0,0],'linewidth', 2); hold on;
- errorbar([1-0.1], [mean(condition1_ERP_ROI_tw)], [std(condition1_ERP_ROI_tw)/sqrt(length(sub_list))], [std(condition1_ERP_ROI_tw)/sqrt(length(sub_list))], '^','Color',[0,0,0],'linewidth', 2, 'MarkerEdgeColor', [10,108,176]/256, 'MarkerFaceColor', [10,108,176]/256, 'MarkerSize',10); hold on;
- errorbar([2-0.1], [mean(condition2_ERP_ROI_tw)], [std(condition2_ERP_ROI_tw)/sqrt(length(sub_list))], [std(condition2_ERP_ROI_tw)/sqrt(length(sub_list))], '^','Color',[0,0,0],'linewidth', 2, 'MarkerEdgeColor', [207,83,28]/256, 'MarkerFaceColor', [207,83,28]/256, 'MarkerSize',10); hold on;
- errorbar([1+0.1], [mean(condition3_ERP_ROI_tw)], [std(condition3_ERP_ROI_tw)/sqrt(length(sub_list))], [std(condition3_ERP_ROI_tw)/sqrt(length(sub_list))], '^','Color',[0,0,0],'linewidth', 2, 'MarkerEdgeColor', [10,108,176]/256, 'MarkerFaceColor', [10,108,176]/256, 'MarkerSize',10); hold on;
- errorbar([2+0.1], [mean(condition4_ERP_ROI_tw)], [std(condition4_ERP_ROI_tw)/sqrt(length(sub_list))], [std(condition4_ERP_ROI_tw)/sqrt(length(sub_list))], '^','Color',[0,0,0],'linewidth', 2, 'MarkerEdgeColor', [207,83,28]/256, 'MarkerFaceColor', [207,83,28]/256, 'MarkerSize',10); hold on;
- ylabel('ERP amplitude (μV)');
- set(gca,'TickDir','out');
- set(gca, 'FontSize', 14);
- set(gca, 'FontName', 'Verdana');
- colormap('parula');
- ylim(ylim_);
- xlim([0.5,2.5]);
- set(gca,'xtick',[1,2]);
- xticklabels({'more complex', 'less complex'});
- box off;
- end
analysis_ERP.m, no license · at the source
Overview
- Program in Neuroscience and Cognitive Science University of Maryland
- Department of Linguistics University of Maryland
- Division of Arts and Sciences New York University Shanghai
- Shanghai Key Laboratory of Brain Functional Genomics (Ministry of Education), School of Psychology and Cognitive Science East China Normal University
- NYU‐ECNU Institute of Brain and Cognitive Science at NYU Shanghai
Abstract
Although psycho‐/
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 3 matches between paragraphs and lines of code.
OSF qt6x8
Availability: 1 check, the latest on 27 September 2026: the link answers (HTTP 200)
- 27 September 2026: the link answers (HTTP 200)
7 files
- script/
analysis_ERP.m , MATLAB, 239 lines, 2 matches - script/
analysis_rating_concrete , MATLAB, 31 linesness.m - script/
analysis_rating_separabl , MATLAB, 29 linesility.m - script/
analysis_toposim.m , MATLAB, 265 lines, 1 match - script/
concatenate_concreteness , MATLAB, 14 lines_and_ERP.m - script/
specfun/ , MATLAB, 226 linesfdr_bh.m - script/
specfun/ , MATLAB, 99 linespcboundary.m
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 7 scripts, each with its path and the digest of its content;
- 3 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
No dataset and no data link were found in the paper.
Data Availability Statement
The stimuli, data, and data processing scripts are publicly shared on OSF: https://
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 2, 28 September 2026
- Publisher: n/a → Wiley
Version 1, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 4 authors, 5 keywords, 7 MeSH terms, 1 funder, 68 references.
Cite
This paper
Yu, X., Mancha, S., Tian, X., & Lau, E. (2026). Shared Neural Computations for Syntactic and Morphological Structures: Evidence From Mandarin Chinese. Cognitive science, 50(5), e70220. https://
BibTeX
@article{yu2026shared,
author = {Yu, Xinchi and Mancha, Sebastián and Tian, Xing and Lau, Ellen},
title = {{Shared Neural Computations for Syntactic and Morphological Structures: Evidence From Mandarin Chinese}},
journal = {Cognitive science},
year = {2026},
month = may,
volume = {50},
number = {5},
pages = {e70220},
publisher = {Wiley},
issn = {0364-0213},
doi = {10.1111/
url = {https://
pmid = {42118826},
pmcid = {PMC13167000}
}
RIS
TY - JOUR
AU - Yu, Xinchi
AU - Mancha, Sebastián
AU - Tian, Xing
AU - Lau, Ellen
TI - Shared Neural Computations for Syntactic and Morphological Structures: Evidence From Mandarin Chinese
T2 - Cognitive science
J2 - Cogn Sci
PY - 2026
DA - 2026/
VL - 50
IS - 5
SP - e70220
SN - 0364-0213
PB - Wiley
DO - 10.1111/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1111/
"type": "article-journal",
"title": "Shared Neural Computations for Syntactic and Morphological Structures: Evidence From Mandarin Chinese",
"container-title": "Cognitive science",
"author": [
{
"family": "Yu",
"given": "Xinchi"
},
{
"family": "Mancha",
"given": "Sebastián"
},
{
"family": "Tian",
"given": "Xing"
},
{
"family": "Lau",
"given": "Ellen"
}
],
"container-title-short":
"volume": "50",
"issue": "5",
"page": "e70220",
"DOI": "10.1111/
"PMID": "42118826",
"PMCID": "PMC13167000",
"ISSN": "0364-0213",
"publisher": "Wiley",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
1
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.1162/imag_a_00072 [code]
- Semantic composition in experimental and naturalistic paradigms.Journal: Imaging neuroscience (Cambridge, Mass.)In common: cognitive, 8 references
- [2] doi:10.1002/hbm.26503 [code]
- Distinct roles of delta- and theta-band neural tracking for sharpening and predictive coding of multi-level speech features during spoken language processing.Journal: Human brain mappingIn common: fdr_bh (Benjamini-Hochberg FDR), EEGLAB, Statistics and Machine Learning Toolbox, EEG, cognitive, 5 references
- [3] doi:10.1162/nol.a.254
- A Unified Neural Time Course for Words, Phrases, and Sentences: MEG Evidence from Parallel Presentation.Journal: Neurobiology of language (Cambridge, Mass.)In common: 7 references
- [4] doi:10.1038/s41467-024-49173-5 [code]
- Shared functional specialization in transformer-based language models and the human brain.Journal: Nature communicationsIn common: Image Processing Toolbox, Statistics and Machine Learning Toolbox, 6 references
- [5] doi:10.1162/nol.a.255 [code]
- Lexical Representations of the Native and Second Languages During L2 Word Reading in Chinese-English Bilinguals.Journal: Neurobiology of language (Cambridge, Mass.)In common: ERPLAB, EEGLAB, Image Processing Toolbox, 1 other tool, EEG, cognitive, 2 references
- [6] doi:10.1126/sciadv.aec0518 [code]
- Hybrid spatial organization and evidence for magnitude-independent neural coding of linguistic information during sentence production.Journal: Science advancesIn common: EEGLAB, 6 references
- [7] doi:10.1126/sciadv.adr9951 [code]
- Language at a glance: How our brains grasp linguistic structure from parallel visual input.Journal: Science advancesIn common: cognitive, 6 references
- [8] doi:10.1371/journal.pbio.3002836 [code]
- Impaired motor-to-sensory transformation mediates auditory hallucinations.Journal: PLoS biologyIn common: EEG, 2 references, author Xing Tian
- [9] doi:10.1162/nol_a_00118 [code]
- Localizing Syntactic Composition with Left-Corner Recurrent Neural Network Grammars.Journal: Neurobiology of language (Cambridge, Mass.)In common: 6 references
- [10] doi:10.1038/s41467-026-73878-4 [code]
- Neural Response to Familiar Names Predicts Outcome of Comatose ICU Patients: A Prospective Observational Cohort Study.Journal: Nature communicationsIn common: ERPLAB, fdr_bh (Benjamini-Hochberg FDR), EEGLAB, 1 other tool, EEG, 1 reference
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 7 scripts, and 3 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:e71908616e96a94d…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1111/cogs.70220)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1111/cogs.70220.svg
:target: https://openscicode.org/badge/doi/10.1111/cogs.70220
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1111/cogs.70220"><img src="https://openscicode.org/badge/doi/10.1111/cogs.70220.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
