LogoLogo
  • Start Here
    • Introduction to NCIL
      • Welcome
      • Mission Statement
      • Getting Started
      • Make this handbook better!
  • Policies & Expectations
    • Working in NCIL
      • Aaron's Philosophy on Supervision
      • General Policies
      • Roles & Expectations
        • Interpersonal and Working Relationships
        • Lab Director: Aaron Newman
        • Lab Manager: Cindy Hamon-Hill
        • Collaborators
        • Postdocs
        • Lab Research Assistants
        • Graduate Students
        • Undergraduate Students
      • Work Ethic
        • Vacations & Absences
      • Money
        • Employment
        • Undergraduate Research Awards
        • Graduate Student Funding
    • Communication
      • Basecamp
      • Lab Meetings
      • Communication Among Lab Members
      • Communicating with Research Participants
      • Website & Social Media
      • Meetings with Supervisor
      • Response Times
    • Lab Space and Resources
      • Hours of Operation
        • After-Hours Research
      • Safety
    • Intellectual Property
      • Data
      • Authorship
      • Publishing: Where and When
  • Data Management & Analysis
    • Data Science Tools
      • Jupyter
        • JupyterLab
      • Python
      • R
      • How to set up your computer for NCIL data science
    • Servers & Computers
      • Accounts
      • File Server (NCILNAS)
        • Accessing NCILNAS
      • Compute Server
        • Jupyter
        • VS Code - Setup
        • VS Code - Everyday Use
      • GitHub Copilot
    • Data Analysis
      • Behavioural Data
      • EEG Analysis
      • fMRI Analysis
        • Processing fMRI Data with SPM
        • fMRI Analysis in SPM
      • Power analysis with simR in R
    • Data Management
      • Github
      • Open Science
    • Learn Some Coding
  • How To Run Experiments
    • How to Get a Research Study Started
      • Research Ethics
      • Your Research Protocol
        • Components of a Research Protocol
      • Pilot Testing
    • Running a Participant
      • Communicating With Participants
      • Recruiting
      • Before Each Participant Arrives
      • When a Participant is in the Lab
    • Experiment Programming
      • Stimulus Presentation Programs
      • Brain-Computer Interface Programs (BCI)
      • EEG Trigger Codes
        • Lab Streaming Layer
        • Trigger Code Hardware Setup
        • Timing Test
    • Data Storage & Protection
    • Word Similarity Measures
  • Communicating Science
    • Submitting papers to Aaron for review
    • Lab Meeting Talks
    • Independent Study Course
    • Honours Thesis
      • Getting Started
    • Master's Thesis
    • 😓PhD Dissertation
    • PhD Comps
    • Conferences
    • Publications
    • Reviewing Journal Manuscripts
  • Old
    • VS Code on NCIL server
Powered by GitBook
On this page

Was this helpful?

  1. How To Run Experiments

Word Similarity Measures

Created for the SKIRF project, based on Lyam Bailey's Production fMRI studies

PreviousData Storage & ProtectionNextSubmitting papers to Aaron for review

Last updated 3 years ago

Was this helpful?

Install the necessary packages

  • First ensure you've followed on your computer.

  • Open a Terminal (Mac)/Anaconda Prompt (Windows) window. All of the commands in computer font below you should type (or copy/paste to avoid typos) into that window, and hit Enter after each command.

  • Install the package:

    • conda install pattern

  • Install the package:

    • Download the "source" package from(doesn't matter if you choose the zip or tar.gz version). Note that if you're used to installing Python packages with conda or pip, this is a nonstandard install procedure, but it works.

    • Uncompress the package (usually simply involves double-clicking it)

    • in the Terminal/Anaconda Prompt, change directories to the CorpusTools folder. Asssuming you downloaded version 1.4.1, the command would be:

      • cd Downloads/CorpusTools-1.4.1

    • Then run the installer:

      • python setup.py install

  • Install the :

    • ipython

    • This will activate an interactive Python kernel in the window. Then run these two commands:

      • import nltk

      • nltk.download('omw-1.4')

    • Type exit to exit the interactive Python session

  • Install the pacakge:

    • conda install spacy

    • spacy download en_core_web_sm

  • Install the package:

    • pip install gensim

    • python -m gensim.downloader --download 'glove-wiki-gigaword-300'

these instructions to install Anaconda Python
pattern
Phonological CorpusTools
this link
Open Multilingual Wordnet
spaCy
Gensim