laywerrobot/lib/python3.6/site-packages/nltk/test/gluesemantics_malt_fixt.py
2020-08-27 21:55:39 +02:00

12 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")