All Apps and Add-ons

Splunk NLTK Tutorial

AnujaJ
Path Finder

Hello,

I installed Splunk NLTK App for raw text analysis. However, I cannot find any tutorial or guideline on how to use the app. Does anyone have an idea on how to use it?

App Link: https://splunkbase.splunk.com/app/4057/#/details

1 Solution

tbaublys_splunk
Splunk Employee
Splunk Employee

Hi Anuja, I don't have a tutorial, but there are some hints on the "details" page. You have to download datasets from https://github.com/nltk/nltk_data/tree/gh-pages/packages and put it on your server in the nltk_data/bin folder manually. Afterward I was able to use language_detect and sentiment_analysis.
Here is the list from available actions (from the #details page):
Supported actions are:
sentence_tokenize
tokenize_and_tag
word_tokenize
definitions
synonyms
antonyms
lemma
language_detect
sentiment_analysis

Here is an example I used to test it:

|makeresults | eval _raw="Good for job listings and getting back in touch with old friends!"
|nltk action="sentiment_analysis"

View solution in original post

tomskacz
New Member

Just in case anybody else wanders back to this rather old question, there are tutorials now available for the NLTK (March 2021). A google search can find them.

0 Karma

tbaublys_splunk
Splunk Employee
Splunk Employee

Hi Anuja, I don't have a tutorial, but there are some hints on the "details" page. You have to download datasets from https://github.com/nltk/nltk_data/tree/gh-pages/packages and put it on your server in the nltk_data/bin folder manually. Afterward I was able to use language_detect and sentiment_analysis.
Here is the list from available actions (from the #details page):
Supported actions are:
sentence_tokenize
tokenize_and_tag
word_tokenize
definitions
synonyms
antonyms
lemma
language_detect
sentiment_analysis

Here is an example I used to test it:

|makeresults | eval _raw="Good for job listings and getting back in touch with old friends!"
|nltk action="sentiment_analysis"
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...