Class MarketNewsSummaryService
java.lang.Object
com.bluebell.greenhouse.radicle.services.market.news.MarketNewsSummaryService
Service-layer cache boundary for market news article summaries.
- Version:
- 3.0.3
- Author:
- Stephen Prizio
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MarketNewsSummaryService
public MarketNewsSummaryService()
-
-
Method Details
-
summarize
@Cacheable(cacheNames="marketNewsSummary", key="T(com.bluebell.greenhouse.platform.configuration.cache.market.news.MarketNewsCacheKeys).forSummary(#article, #maxSentences)", sync=true) public String summarize(String article, int maxSentences) Returns a TextRank summary for market news article content.- Parameters:
article- article contentmaxSentences- maximum number of summary sentences- Returns:
- summarized article
-