mwetoolkit

 Home

mwetoolkit Installation: Windows Requirements

The mwetoolkit was developed and tested extensively on Linux, but this doesn't mean you cannot use it on Windows :-)

It is now possible to run the mwetoolkit in Windows environments by installing a command line emulator called Cygwin. The instructions below have been tested in Windows 7 Home Basic - 64 bits and worked perfectly. We detail below specific Cygwin installation instructions for use with the mwetoolkit. If you are familiar with Cygwin, you can run the installation setup and go to step 7, to install the required packages.

Download the Cygwin installer

First, you need to download the Cygwin setup program from the official Cygwin installation website. It is a very light installer, since the real system will be downloaded later. Select the appropriate version according to your computer architecture, 32 bits (setup-x86.exe) or 64 bits (setup-x86_64.exe). check the "System Information" in if you don't know which version to download.

Configure and install Cygwin

Once you have downloaded the installer, double-click it to start the installation process and follow the instructions below, accepting the default configuration options.

  1. Click "Next"
    Cygwin installation screen - Step 1
  2. Select "Install from Internet" (default) and then click "Next"
    Cygwin installation screen - Step 2
  3. Select "All Users" (default) and then click "Next". You can change the installation directory if you want, but the default C:\\cygwin or C:\\cygwin64 is just fine.
    Cygwin installation screen - Step 3
  4. Click "Next". You can change the local package directory if you want. This is the place where all the installation files are stored. You can delete them after installation is completed, but we recommend keeping it in case you need to modify your Cygwin installation in the future.
    Cygwin installation screen - Step 4
  5. Enter your Internet Proxy information if necessary, and click "Next". Most people don't use a proxy, so you can simply leave "Direct Connection" selected.
    Cygwin installation screen - Step 5
  6. Select any server URL from the list, then click "Next". Any server will work fine, but you can try to find one that is geographically close to speed up the download process. For instance, if you are in Brazil, then select http://linorg.usp.br
    Cygwin installation screen - Step 6
  7. Like in any Linux-based distribution, Cygwin program installation is based on packages. At this step, you must select the packages that you want to install in addition to the basic ones. A simple possibility would be to select all packages, but this would take hours and fill up several gigabytes of disk storage. Instead, we recommend installing only the packages listed below, required to run the mwetoolkit:
    • subversion - category "Devel"
    • git - category "Devel"
    • python - category "Python"
    • gcc-core - category "Devel"
    • make - category "Devel"
    • python-simplejson - category "Python"
    • diffutils - category "Utils"
    • wdiff - category "Utils"
    • libxml2 - category "Libs"
    • wget - category "Web"
    • unzip - category "Archive"
    In order to select a package for installation, type the package name in the "Search" box. Then, locate the appropriate category and expand it by clicking on the "+" sign. Find the package whose name matches EXACTLY the name of one of the packages listed above. The name of the package is found in the last column, and appears just before the colon, as in the example below. Finally, click ONCE on the first column where the "Skip" keyword will be replaced by the version number of the package to be installed. If by accident you click twice, this will select another version. Click two more times and the correct version is selected again. When the package is selected, two checkboxes appear in the second and third columns, indicating that the package will be installed. Repeat the process exemplified below with the packages in the list above, then click "Next".
    Cygwin installation screen - Step 7 - package selection
  8. Confirm that you want to install the selected packages, and click "Next". Leave the checkbox "Select required packages (RECOMMENDED)" checked (default).
    Cygwin installation screen - Step 8
  9. Once you have confirmed the installation, you can click "Next" and wait while the packages are downloaded and installalled. This can take a long time depending on your Internet connection. Remember that you should have enough free disk space.
    Cygwin installation screen - Step 9
  10. Choose whether you want to create shortcuts on Desktop or in Start Menu, and click "Finish"
    Cygwin installation screen - Step 10
  11. Now, open the Cygwin Terminal through one of the shortcuts and now follow the general mwetoolkit installation instructions.
    Cygwin installation screen - Step 11

WARNING: when emulated in Cygwin, we remarked that the mwetoolkit runs considerably slower than in Linux. Consider using Linux if you want to process very large corpora

Links

  Powered by Phite