Git Product home page Git Product logo

aaronjnewman / swop Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 698.04 MB

Data and analysis scripts associated with the manuscript: Native word order processing is not uniform: An ERP-study of verb-second word order. This paper was accepted for publication in Frontiers in Psychology - Language Sciences on Feb 3, 2022; DOI: 10.3389/fpsyg.2022.668276

Jupyter Notebook 100.00%
neuroscience language eeg event-related-potentials swedish linguistics cognitive-neuroscience mne-python linear-mixed-effects-modelling mgcv

swop's Introduction

SWOP (Swedish Word Order Processing)

Data and analysis scripts associated with the manuscript: Native word order processing is not uniform: An ERP-study of verb-second word order. This paper was accepted for publication by Frontiers in Psychology - Language Sciences, on Feb 3, 2022; DOI: 10.3389/fpsyg.2022.668276

Authors:

  • Susan Sayehli, Centre for Research on Bilingualism, Department of Swedish Language and Multilingualism, Stockholm University, Stockholm, Sweden
  • Marianne Gullberg, Centre for Languages and Literature, Lund University, Lund, Sweden
  • Aaron J Newman, Department of Psychology & Neuroscience, Dalhousie University, Halifax, NS, Canada
  • Annika Andersson, Swedish as a Second Language, Department of Swedish, Linnaeus University, Växjö, Sweden

Abstract:

Studies of native syntactic processing often target phrase structure violations that do not occur in natural production. In contrast, this study examines how variation in basic word order is processed, looking specifically at structures traditionally labelled as violations but that do occur naturally. We examined Swedish verb-second (V2) and verb-third (V3) word order-processing in adult native Swedish speakers, manipulating sentence-initial adverbials (temporal idag ‘today’, spatial hemma ‘at home’, and sentential kanske ‘maybe’) in a written sentence completion task, in acceptability judgements, and neurocognitively as event-related potentials (ERP) recorded to visually presented sentences. An initial corpus study showed that the adverbials differ in frequency in fronted position (idag > kanske > hemma), and although all occur mainly with V2 word order, kanske occurs more frequently with V3 in natural production than both idag and hemma.

Code

All results reported in the manuscript should be reproducible using the code and data in this repository. Code is provided in Jupyter notebooks, which are extensively annotated. The original raw EEG data files are not included in this GitHub repository, because they exceed GitHub's file limit. The raw EEG files are provided on the accompanying OSF site for this project, and should be downloaded to the data folder of this repo if one desires to re-run the preprocesing.

  • EEG preprocessing and visualization were conducted using MNE v 0.23.0 under Python v 3.9
  • statistical analyses were conducted using the mgcv package v 1.8-36, under R v 4.1.0

Code was written by Aaron J Newman, NeuroCognitive Imaging Lab, Dalhousie University, including code adapted from Alday for computing baseline regression in MNE. Code is released under the The 3-Clause BSD License.

swop's People

Contributors

aaronjnewman avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.