KSQL UDF for entity-level sentiment analysis

KSQL UDF that uses the Google Cloud Natural Language API to perform entity-level sentiment analysis on streams of text

Лицензия

Лицензия

Группа

Группа

com.mitchseymour
Идентификатор

Идентификатор

ksql-udf-entity-sentiment-analysis
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

KSQL UDF for entity-level sentiment analysis
KSQL UDF that uses the Google Cloud Natural Language API to perform entity-level sentiment analysis on streams of text
Ссылка на сайт

Ссылка на сайт

https://github.com/magicalpipelines/ksql-functions
Система контроля версий

Система контроля версий

https://github.com/magicalpipelines/ksql-functions

Скачать ksql-udf-entity-sentiment-analysis

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.mitchseymour/ksql-udf-entity-sentiment-analysis/ -->
<dependency>
    <groupId>com.mitchseymour</groupId>
    <artifactId>ksql-udf-entity-sentiment-analysis</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.mitchseymour/ksql-udf-entity-sentiment-analysis/
implementation 'com.mitchseymour:ksql-udf-entity-sentiment-analysis:0.1.0'
// https://jarcasting.com/artifacts/com.mitchseymour/ksql-udf-entity-sentiment-analysis/
implementation ("com.mitchseymour:ksql-udf-entity-sentiment-analysis:0.1.0")
'com.mitchseymour:ksql-udf-entity-sentiment-analysis:jar:0.1.0'
<dependency org="com.mitchseymour" name="ksql-udf-entity-sentiment-analysis" rev="0.1.0">
  <artifact name="ksql-udf-entity-sentiment-analysis" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.mitchseymour', module='ksql-udf-entity-sentiment-analysis', version='0.1.0')
)
libraryDependencies += "com.mitchseymour" % "ksql-udf-entity-sentiment-analysis" % "0.1.0"
[com.mitchseymour/ksql-udf-entity-sentiment-analysis "0.1.0"]

Зависимости

provided (2)

Идентификатор библиотеки Тип Версия
org.apache.kafka : kafka-streams jar 2.3.0
org.slf4j : slf4j-api jar 1.7.27

test (1)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter jar 5.4.1

Модули Проекта

Данный проект не имеет модулей.

Custom KSQL UDFs and UDAFs

This repository contains custom KSQL UDFs and UDAFs built by the Magical Pipelines team. An overview of each function, including usage details, can be found in the function's subdirectory.

Installation

All of the JARs are deployed to Maven central, and can be viewed here. To install any of these KSQL UDFs / UDAFs, simply download the appropriate JAR file from Maven central and place it in the KSQL extension directory; If you're not sure what the KSQL extension directory is set to for your KSQL deployment, run the following query from the KSQL CLI.

ksql> SHOW PROPERTIES ;

 Property                                               | Default override | Effective Value
-------------------------------------------------------------------------------------------------------------------------------------------
 ksql.extension.dir                                     | SERVER           | /tmp/ext
 
 ...
 ...

Custom functions

Below are the custom functions that are currently available.

  • COLOR_TO_HEX: experimental polyglot (ruby) UDF that converts colors to hex strings
  • DIALOGFLOW: build conversational interfaces (virtual assistants, intelligent chatbots, etc)
  • PREDICT_SPAM: experimental UDF that predicts whether or not a string of text is spam
  • SENTIMENT: perform sentiment analysis on streams of text
  • SUMMARY_STATS: calculate summary statistics (mean, standard deviation, sample size, etc) for streams of data.
com.mitchseymour

Magical Pipelines

Learn something magical today.

Версии библиотеки

Версия
0.1.0