CofeehousePy/nlpfr/nltk/test/gluesemantics_malt_fixt.py

13 lines
303 B
Python

# -*- 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")