Phonological CorpusTools
Python Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
continuous-integration/travis
corpustools
docs
examples
resources
tests
.DS_Store
.coveragerc
.gitignore
.travis.yml
LICENSE
MANIFEST.in
PCT.qrc
README.md
cx_setup.py
esk_setup.py
pa_setup.py
pct.iss
pct.spec
requirements.txt
setup.py
syllabification.rst

README.md

Phonological CorpusTools

Build Status Coverage Status

Documentation Status

This document contains installation instructions for Phonological CorpusTools (PCT). For a description of available functionality, please refer to the documentation available on ReadTheDocs (http://corpustools.readthedocs.org/en/master/).

Standard installation (executable)

Windows

(NOTE: This method requires that you are running a 64-bit version of windows. You can check this by in Control Panel -> System and Security -> System.)

Download the latest version's installer from the Phonological CorpusTools release page (https://github.com/PhonologicalCorpusTools/CorpusTools/releases). Double-click this file to install PCT to your computer. It can then be run the same as any other program, via Start -> Programs.

Mac OS X

Download the file 'Phonological.CorpusTools-1.1.0.dmg' from the Phonological CorpusTools releases page (https://github.com/PhonologicalCorpusTools/CorpusTools/releases). Install Phonological CorpusTools by dragging the app into the Applications directory.

Linux

There is currently no executable option available for Linux operating systems. Please use the fallback installation method below to install from source.

Fallback installation (setup.py)

Windows, Mac OS X, or Linux

Dependencies:

If you expect to use the acoustic similarity module, there are additional dependencies:

Download the latest version of the source code for Phonological CorpusTools from the releases page (https://github.com/PhonologicalCorpusTools/CorpusTools/releases). After expanding the file, you will find a file called 'setup.py' in the top level directory. Run it in one of the following ways:

  1. Double-click it. If this doesn't work, access the file properties and ensure that you have permission to run the file; if not, give them to yourself. In Windows, this may require that you open the file in Administrator mode (also accessible through file properties). If your computer opens the .py file in a text editor rather than running it, you can access the file properties to set Python 3.x as the default program to use with run .py files. If the file is opened in IDLE (a Python editor), you can use the "Run" button in the IDLE interface to run the script instead.

  2. Open a terminal window and run the file. In Linux or Mac OS X, there should be a Terminal application pre-installed. In Windows, you may need to install Cygwin ( https://www.cygwin.com/ ). Once the terminal window is open, nagivate to the top level CorpusTools folder---the one that has setup.py in it. (Use the command 'cd' to navigate your filesystem; Google "terminal change directory" for further instructions.) Once in the correct directory, run this command: python3 setup.py install. You may lack proper permissions to run this file, in which case on Linux or Mac OS X you can instead run sudo python3 setup.py install. If Python 3.x is the only version of Python on your system, it may be possible or necessary to use the command python rather than python3.

Phonological CorpusTools should now be installed! Run it from a terminal window using the command pct. You can also open a "Run" dialogue and use the command pct there. In Windows, the Run tool is usuall found in All Programs -> Accessories.