Package com.linguamathematica.oa4j.TopicsAnalysis

Examples of com.linguamathematica.oa4j.TopicsAnalysis.Noun


  protected static TopicsAnalysis.Noun properNoun(final Result<String> topic, final PolarityResult polarity,
      final Result<OfferingGuidance> offeringGuidance, final Result<RequestingGuidance> RequestingGuidance,
      final NER ner)
  {
    return new Noun(topic, polarity, offeringGuidance, RequestingGuidance, ner);
  }
View Full Code Here


  protected static TopicsAnalysis.Noun properNoun(final Result<String> topic, final Result<Polarity> polarity,
      final Result<OfferingGuidance> offeringGuidance, final Result<RequestingGuidance> RequestingGuidance,
      final NER ner)
  {
    return new Noun(topic, new PolarityResult(polarity, polarity, polarity), offeringGuidance, RequestingGuidance,
        ner);
  }
View Full Code Here

  {
    final Set<TopicsAnalysis.Noun> properNouns = newSet();

    for (final TopicResult item : response)
    {
      properNouns.add(new Noun(//@formatter:off
          resultFrom(item.getTopic()),
          polarityFrom(item.getPolarity() ),
          resultFrom(item.getOfferingGuidance(), OfferingGuidance.class),
          resultFrom(item.getRequestingGuidance(), RequestingGuidance.class),
          nerFrom(item.getNamedEntityType())));//@formatter:on
View Full Code Here

TOP

Related Classes of com.linguamathematica.oa4j.TopicsAnalysis.Noun

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.