NAME
NLP::StanfordParser
SYNOPSIS
NLP::StanfordParser is a Java wrapper around Stanford's NLP libraries and data files.
VERSION
0.02
EXPORTED CONSTANTS
- MODEL_EN_PCFG
-
The full path of the 'English PCFG' model data.
- MODEL_EN_FACTORED
-
The full path of the 'English Factored' model data.
- MODEL_EN_PCFG_WSJ
-
The full path of the 'WSJ PCFG' model data.
- MODEL_EN_FACTORED_WSJ
-
The full path of the 'WSJ Factored' model data.
- PARSER_JAR
-
The full path of the JAR file that is used by this module.
- PARSER_RELEASE_DATE
-
The date of the release of the Stanford Parser.
- PARSER_SOURCE_URI
-
URL for downloading the full package from if the user feels like.
OBJECT ATTRIBUTES
- model
-
The model can be of 4 types as per the MODEL_* constants described above. The default model is MODEL_EN_PCFG.
- parser
-
The actual parser object. This has a few methods that are exposed externally to the actual class, most notably the parse() method.
- relations
-
The list of grammatical relations supported by the Stanford Parser library.
OBJECT METHODS
- parse()
-
The method that invokes the current parser object and parses the input array of strings and returns the parsed output as a string as well.
COPYRIGHT
Copyright (C) 2011. Vikas Naresh Kumar <vikas@cpan.org>
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Started on 6th March 2011.