fix malt's mco parameter documentation

As far as I could see, MaltParser does not take a full path as input for
mco models. You must specify the name of the model, which MaltParser
then uses to look for a file in ${working_dir}/${mco}.mco. It's a bit
clunky, but I couldn't find alternatives in their documentation.
parent f4fc2c7d
......@@ -26,8 +26,9 @@ class MaltParser(ParserI):
"""
An interface for parsing with the Malt Parser.
:param mco: The full path to a pre-trained model. If
provided, then training will not be needed.
:param mco: The name of the pre-trained model. If provided, training
will not be required, and MaltParser will use the model file in
${working_dir}/${mco}.
:type mco: str
"""
self.config_malt()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment