# -*- coding: utf-8 -*-
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")

# -*- coding: utf-8 -*-
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