from __future__ import absolute_import

def setup_module(module):
    from nose import SkipTest
    from nltk.parse.malt import MaltParser

    try:
        depparser = MaltParser()
    except LookupError:
        raise SkipTest("MaltParser is not available")

from __future__ import absolute_import

def setup_module(module):
    from nose import SkipTest
    from nltk.parse.malt import MaltParser

    try:
        depparser = MaltParser('maltparser-1.7.2')
    except LookupError:
        raise SkipTest("MaltParser is not available")

Add the malt parser directory name in the unittest
Add the malt parser directory name in the unittest

Fixes https://nltk.ci.cloudbees.com/job/nltk/TOXENV=py34-jenkins,jdk=jdk8latestOnlineInstall/lastCompletedBuild/testReport/%3Cnose/suite/ContextSuite_context_gluesemantics_malt_fixt__setup/
  from __future__ import absolute_import
  
  def setup_module(module):
      from nose import SkipTest
      from nltk.parse.malt import MaltParser
  
      try:
-         depparser = MaltParser()
+         depparser = MaltParser('maltparser-1.7.2')
      except LookupError:
          raise SkipTest("MaltParser is not available")
  
Add the malt parser directory name in the unittest
## Code Before:
from __future__ import absolute_import

def setup_module(module):
    from nose import SkipTest
    from nltk.parse.malt import MaltParser

    try:
        depparser = MaltParser()
    except LookupError:
        raise SkipTest("MaltParser is not available")

## Instruction:
Add the malt parser directory name in the unittest
## Code After:
from __future__ import absolute_import

def setup_module(module):
    from nose import SkipTest
    from nltk.parse.malt import MaltParser

    try:
        depparser = MaltParser('maltparser-1.7.2')
    except LookupError:
        raise SkipTest("MaltParser is not available")
