This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a change to branch regenerate_license_file_after_dep_upgrade
in repository https://gitbox.apache.org/repos/asf/opennlp.git
discard baa12256 Minor: Regenerated NOTICE File for
9bfd8072fb3b16025fbde72f5ad5b1b0c10243bc
add 32fa977b OPENNLP-855: Add SentimentDetector to derive sentiment from
text (#579)
add dff70391 Minor: Regenerated NOTICE File for
32fa977b274dc1fb74304bb76fe154ae92677426
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (baa12256)
\
N -- N -- N refs/heads/regenerate_license_file_after_dep_upgrade
(dff70391)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../SentimentDetector.java} | 23 +-
.../SentimentEvaluationMonitor.java} | 8 +-
.../opennlp/tools/sentiment/SentimentSample.java | 108 ++++++++++
.../src/main/java/opennlp/tools/cmdline/CLI.java | 8 +
.../sentiment/SentimentCrossValidatorTool.java | 112 ++++++++++
.../SentimentDetailedFMeasureListener.java} | 27 ++-
.../SentimentEvaluationErrorListener.java} | 43 ++--
.../cmdline/sentiment/SentimentEvaluatorTool.java | 146 +++++++++++++
.../SentimentModelLoader.java} | 30 +--
.../cmdline/sentiment/SentimentTrainerTool.java | 110 ++++++++++
.../tools/cmdline/StreamFactoryRegistry.java | 3 +
.../formats/SentimentSampleStreamFactory.java | 80 +++++++
.../tools/sentiment/SentimentContextGenerator.java | 83 ++++++++
.../tools/sentiment/SentimentCrossValidator.java | 236 +++++++++++++++++++++
.../SentimentEvaluator.java} | 45 ++--
.../SentimentEventStream.java} | 45 ++--
.../opennlp/tools/sentiment/SentimentFactory.java | 72 +++++++
.../java/opennlp/tools/sentiment/SentimentME.java | 118 +++++++++++
.../opennlp/tools/sentiment/SentimentModel.java | 106 +++++++++
.../tools/sentiment/SentimentSampleStream.java | 76 +++++++
.../tools/sentiment/SentimentSampleTypeFilter.java | 76 +++++++
.../sentiment/SentimentContextGeneratorTest.java | 69 ++++++
.../sentiment/SentimentCrossValidatorTest.java | 87 ++++++++
.../tools/sentiment/SentimentEvaluatorTest.java | 182 ++++++++++++++++
.../tools/sentiment/SentimentEventStreamTest.java | 81 +++++++
.../SentimentFactoryTest.java} | 38 ++--
.../opennlp/tools/sentiment/SentimentMETest.java | 210 ++++++++++++++++++
.../tools/sentiment/SentimentSampleStreamTest.java | 76 +++++++
.../tools/sentiment/SentimentSampleTest.java | 99 +++++++++
.../sentiment/SentimentSampleTypeFilterTest.java | 85 ++++++++
.../resources/opennlp/tools/sentiment/train.txt | 32 +++
opennlp-docs/src/docbkx/introduction.xml | 7 +-
opennlp-docs/src/docbkx/opennlp.xml | 1 +
opennlp-docs/src/docbkx/sentiment.xml | 186 ++++++++++++++++
34 files changed, 2593 insertions(+), 115 deletions(-)
copy opennlp-api/src/main/java/opennlp/tools/{cmdline/ObjectStreamFactory.java
=> sentiment/SentimentDetector.java} (59%)
copy
opennlp-api/src/main/java/opennlp/tools/{lemmatizer/LemmatizerEvaluationMonitor.java
=> sentiment/SentimentEvaluationMonitor.java} (79%)
create mode 100644
opennlp-api/src/main/java/opennlp/tools/sentiment/SentimentSample.java
create mode 100644
opennlp-core/opennlp-cli/src/main/java/opennlp/tools/cmdline/sentiment/SentimentCrossValidatorTool.java
copy
opennlp-core/opennlp-cli/src/main/java/opennlp/tools/cmdline/{chunker/ChunkerDetailedFMeasureListener.java
=> sentiment/SentimentDetailedFMeasureListener.java} (58%)
copy
opennlp-core/opennlp-cli/src/main/java/opennlp/tools/cmdline/{doccat/DoccatEvaluationErrorListener.java
=> sentiment/SentimentEvaluationErrorListener.java} (51%)
create mode 100644
opennlp-core/opennlp-cli/src/main/java/opennlp/tools/cmdline/sentiment/SentimentEvaluatorTool.java
copy
opennlp-core/opennlp-cli/src/main/java/opennlp/tools/cmdline/{tokenizer/TokenizerModelLoader.java
=> sentiment/SentimentModelLoader.java} (64%)
create mode 100644
opennlp-core/opennlp-cli/src/main/java/opennlp/tools/cmdline/sentiment/SentimentTrainerTool.java
create mode 100644
opennlp-core/opennlp-formats/src/main/java/opennlp/tools/formats/SentimentSampleStreamFactory.java
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/sentiment/SentimentContextGenerator.java
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/sentiment/SentimentCrossValidator.java
copy
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/{tokenize/TokenizerEvaluator.java
=> sentiment/SentimentEvaluator.java} (52%)
copy
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/{langdetect/LanguageDetectorEventStream.java
=> sentiment/SentimentEventStream.java} (53%)
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/sentiment/SentimentFactory.java
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/sentiment/SentimentME.java
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/sentiment/SentimentModel.java
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/sentiment/SentimentSampleStream.java
create mode 100644
opennlp-core/opennlp-runtime/src/main/java/opennlp/tools/sentiment/SentimentSampleTypeFilter.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/sentiment/SentimentContextGeneratorTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/sentiment/SentimentCrossValidatorTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/sentiment/SentimentEvaluatorTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/sentiment/SentimentEventStreamTest.java
copy
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/{sentdetect/NewlineSentenceDetectorTest.java
=> sentiment/SentimentFactoryTest.java} (51%)
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/sentiment/SentimentMETest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/sentiment/SentimentSampleStreamTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/sentiment/SentimentSampleTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/java/opennlp/tools/sentiment/SentimentSampleTypeFilterTest.java
create mode 100644
opennlp-core/opennlp-runtime/src/test/resources/opennlp/tools/sentiment/train.txt
create mode 100644 opennlp-docs/src/docbkx/sentiment.xml