Workstation setup - kt00781/Grammarcite GitHub Wiki

MacOS

  • Open a terminal window, type python --version to verify python is installed correctly. If not, you'll need to install python. I recommend v3.7, but 3.6 will be okay. If possible, use 32 bit since NLTK and PyEnchant are 32 bit.

  • PyLadies Blog looks like a good resource to follow to get a Mac ready for Python programming, however, I'm not familiar with XCode (takes up 2 Gb) and VS Code may be a better lightweight option, so consider skipping Step 1 on PyLadies Blog. If you decide to use XCode, check out this. Other steps on the blog to follow besides Homebrew and Python:

    • Install pip
    • Install VIRTUALENV
    • Install Git

Windows

  • Open a Command window, type python --version
  • Install Git tools
    • GitHub Desktop
    • Consider installing the Anaconda Distribution of Python 3.7. If you have Python already installed, it may be possible to do what is needed without it. It may be necessary to stick with the 32 bit version if you plan on using NLTK.
    • Git Tools (choose 64 bit version)
    • Make sure you have pip

Anaconda has partnered with Microsoft on VS Code and provides instructions for installing VS code after the Anaconda install. The benefit will be integration with the the Terminal and easier code testing/debugging

  • Install Visual Studio Code
  • Once your environment is set up, from a Terminal window:
    • Install PySpellchecker - basic spell checking, simplest tool to demo your use cases.
    • Install PyEnchant - more complex to use but more advanced spell checking techniques
      • Enchant - PyEnchant depends on this being installed first, requires building.
      • PyEnchant