diff --git a/Topic_modelling_3.ipynb b/Topic_modelling_3.ipynb new file mode 100644 index 0000000..649f136 --- /dev/null +++ b/Topic_modelling_3.ipynb @@ -0,0 +1,2081 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [], + "source": [ + "import numpy as np\n", + "import pandas as pd\n", + "import itertools\n", + "import pickle\n", + "from pprint import pprint\n", + "\n", + "import matplotlib.pyplot as plt\n", + "import seaborn as sns\n", + "%matplotlib inline" + ] + }, + { + "cell_type": "code", + "execution_count": 2, + "metadata": {}, + "outputs": [], + "source": [ + "import nltk\n", + "from nltk.stem import WordNetLemmatizer, SnowballStemmer\n", + "from nltk.stem.porter import *\n", + "from nltk.corpus import wordnet\n", + "from nltk import FreqDist\n", + "from nltk.corpus import stopwords\n", + "\n", + "import spacy\n", + "\n", + "import gensim\n", + "from gensim.utils import simple_preprocess\n", + "from gensim.parsing.preprocessing import STOPWORDS\n", + "from gensim.models.ldamodel import LdaModel\n", + "from gensim.models import CoherenceModel\n", + "import gensim.corpora as corpora\n", + "\n", + "import pyLDAvis.gensim\n", + "np.random.seed(2)" + ] + }, + { + "cell_type": "code", + "execution_count": 3, + "metadata": { + "scrolled": true + }, + "outputs": [], + "source": [ + "data = pd.read_excel('Rubber News.xlsx', error_bad_lines=False);" + ] + }, + { + "cell_type": "code", + "execution_count": 4, + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "(5275, 6)" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 5, + "metadata": {}, + "outputs": [], + "source": [ + "data = data[[\"Full.story\"]]\n", + "data= data.apply(lambda x: x.astype(str).str.lower())" + ] + }, + { + "cell_type": "code", + "execution_count": 6, + "metadata": {}, + "outputs": [ + { + "data": { + "text/plain": [ + "(5275, 1)" + ] + }, + "execution_count": 6, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data.shape" + ] + }, + { + "cell_type": "code", + "execution_count": 7, + "metadata": { + "scrolled": true + }, + "outputs": [], + "source": [ + "# data.rename(columns = {'Full.story':'full_story'}, inplace = True)" + ] + }, + { + "cell_type": "code", + "execution_count": 8, + "metadata": {}, + "outputs": [], + "source": [ + "documents = data.copy()" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "
| \n", + " | Full.story | \n", + "
|---|---|
| 0 | \n", + "sumitomo rubber industries has established a n... | \n", + "
| 1 | \n", + "spot rubber closed unchanged on thursday. rss ... | \n", + "
| 2 | \n", + "delegate registration for india rubber meet 20... | \n", + "
| 3 | \n", + "mumbai – futures contracts of rubber on the in... | \n", + "
| 4 | \n", + "tapping has been delayed despite the fact that... | \n", + "
| ... | \n", + "... | \n", + "
| 5270 | \n", + "cogencis, wednesday, apr 11 new delhi – india’... | \n", + "
| 5271 | \n", + "cogencis, tuesday, apr 10 by prabhnoor nanda n... | \n", + "
| 5272 | \n", + "outlook futures contracts of natural rubber ma... | \n", + "
| 5273 | \n", + "cogencis, tuesday, apr 10 by shikha singh new ... | \n", + "
| 5274 | \n", + "cogencis, monday, apr 9 by prabhnoor nanda new... | \n", + "
5275 rows × 1 columns
\n", + "| \n", + " | Topic 1 | \n", + "Topic 2 | \n", + "Topic 3 | \n", + "
|---|---|---|---|
| 0 | \n", + "month | \n", + "rubber | \n", + "rupee | \n", + "
| 1 | \n", + "year | \n", + "price | \n", + "rubber | \n", + "
| 2 | \n", + "index | \n", + "market | \n", + "contract | \n", + "
| 3 | \n", + "company | \n", + "natural | \n", + "price | \n", + "
| 4 | \n", + "inflation | \n", + "rise | \n", + "yen | \n", + "
| 5 | \n", + "increase | \n", + "fall | \n", + "close | \n", + "
| 6 | \n", + "high | \n", + "oil | \n", + "grade | \n", + "
| 7 | \n", + "rubber | \n", + "domestic | \n", + "previous | \n", + "
| 8 | \n", + "export | \n", + "crude | \n", + "active | \n", + "
| 9 | \n", + "state | \n", + "trader | \n", + "rss | \n", + "
| 10 | \n", + "low | \n", + "contract | \n", + "high | \n", + "
| 11 | \n", + "plantation | \n", + "demand | \n", + "low | \n", + "
| 12 | \n", + "production | \n", + "likely | \n", + "datum | \n", + "
| 13 | \n", + "wholesale | \n", + "spot | \n", + "trader | \n", + "
| 14 | \n", + "commodity | \n", + "supply | \n", + "market | \n", + "
| 15 | \n", + "report | \n", + "key | \n", + "exchange | \n", + "
| 16 | \n", + "country | \n", + "analyst | \n", + "end | \n", + "
| 17 | \n", + "quarter | \n", + "gain | \n", + "bourse | \n", + "
| 18 | \n", + "release | \n", + "base | \n", + "settle | \n", + "
| 19 | \n", + "product | \n", + "end | \n", + "board | \n", + "
| 20 | \n", + "expect | \n", + "global | \n", + "hit | \n", + "
| 21 | \n", + "flood | \n", + "exchange | \n", + "accord | \n", + "
| 22 | \n", + "rate | \n", + "cue | \n", + "future | \n", + "
| 23 | \n", + "accord | \n", + "import | \n", + "widely_trade | \n", + "
| 24 | \n", + "rainfall | \n", + "week | \n", + "week | \n", + "
| 25 | \n", + "mln | \n", + "expectation | \n", + "variety | \n", + "
| 26 | \n", + "period | \n", + "tocom | \n", + "compare | \n", + "
| 27 | \n", + "see | \n", + "future | \n", + "change | \n", + "
| 28 | \n", + "large | \n", + "output | \n", + "give | \n", + "
| 29 | \n", + "government | \n", + "support | \n", + "following | \n", + "
| 30 | \n", + "sale | \n", + "substitute | \n", + "fall | \n", + "
| 31 | \n", + "growth | \n", + "expect | \n", + "show | \n", + "
| 32 | \n", + "consumption | \n", + "production | \n", + "closing | \n", + "
| 33 | \n", + "sector | \n", + "high | \n", + "rise | \n", + "
| 34 | \n", + "industry | \n", + "benchmark | \n", + "japanese | \n", + "
| 35 | \n", + "raise | \n", + "concern | \n", + "detail | \n", + "
| 36 | \n", + "damage | \n", + "new | \n", + "analyst | \n", + "
| 37 | \n", + "area | \n", + "low | \n", + "dollar | \n", + "
| 38 | \n", + "total | \n", + "stock | \n", + "tocom | \n", + "
| 39 | \n", + "rain | \n", + "decline | \n", + "sell | \n", + "
| \n", + " | Full.story | \n", + "full_story | \n", + "lemmatized | \n", + "
|---|---|---|---|
| 0 | \n", + "sumitomo rubber industries has established a n... | \n", + "sumitomo rubber industries has established a n... | \n", + "[industry, establish, natural, rubber, subsidi... | \n", + "
| 1 | \n", + "spot rubber closed unchanged on thursday. rss ... | \n", + "spot rubber closed unchanged on thursday rss ... | \n", + "[spot, rubber, close, unchanged, rss, quote, s... | \n", + "
| 2 | \n", + "delegate registration for india rubber meet 20... | \n", + "delegate registration for india rubber meet i... | \n", + "[meet, hold] | \n", + "
| 3 | \n", + "mumbai – futures contracts of rubber on the in... | \n", + "mumbai futures contracts of rubber on the ind... | \n", + "[rise, ongoing, supply, crunch, market, trader... | \n", + "
| 4 | \n", + "tapping has been delayed despite the fact that... | \n", + "tapping has been delayed despite the fact that... | \n", + "[tap, delay, fact, peak_season, decline, impor... | \n", + "
| ... | \n", + "... | \n", + "... | \n", + "... | \n", + "
| 5270 | \n", + "cogencis, wednesday, apr 11 new delhi – india’... | \n", + "cogencis wednesday apr new delhi india s nat... | \n", + "[rubber, production, fall, year, accord, relea... | \n", + "
| 5271 | \n", + "cogencis, tuesday, apr 10 by prabhnoor nanda n... | \n", + "cogencis tuesday apr by prabhnoor nanda new d... | \n", + "[contract, rubber, exchange, likely, fall, ses... | \n", + "
| 5272 | \n", + "outlook futures contracts of natural rubber ma... | \n", + "outlook futures contracts of natural rubber ma... | \n", + "[contract, natural, rubber, trade, low, sessio... | \n", + "
| 5273 | \n", + "cogencis, tuesday, apr 10 by shikha singh new ... | \n", + "cogencis tuesday apr by shikha singh new delh... | \n", + "[price, natural, rubber, fall, spot, market, p... | \n", + "
| 5274 | \n", + "cogencis, monday, apr 9 by prabhnoor nanda new... | \n", + "cogencis monday apr by prabhnoor nanda new de... | \n", + "[contract, rubber, exchange, settle, marginall... | \n", + "
5275 rows × 3 columns
\n", + "| \n", + " | Full.story | \n", + "full_story | \n", + "lemmatized | \n", + "Main_keywords | \n", + "First_topic_number | \n", + "First_topic_name | \n", + "First_topic_propability | \n", + "Second_topic_number | \n", + "Second_topic_name | \n", + "Second_topic_propability | \n", + "
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | \n", + "sumitomo rubber industries has established a n... | \n", + "sumitomo rubber industries has established a n... | \n", + "[industry, establish, natural, rubber, subsidi... | \n", + "natural,rubber,establish,hub,industry,large,su... | \n", + "2 | \n", + "Rate change | \n", + "0.521 | \n", + "1 | \n", + "Global economy | \n", + "0.466 | \n", + "
| 1 | \n", + "spot rubber closed unchanged on thursday. rss ... | \n", + "spot rubber closed unchanged on thursday rss ... | \n", + "[spot, rubber, close, unchanged, rss, quote, s... | \n", + "rubber,accord,close,dealer,finish,flat,quote,r... | \n", + "3 | \n", + "Rubber trade | \n", + "0.978 | \n", + "2 | \n", + "Rate change | \n", + "0.016 | \n", + "
| 2 | \n", + "delegate registration for india rubber meet 20... | \n", + "delegate registration for india rubber meet i... | \n", + "[meet, hold] | \n", + "hold,meet | \n", + "1 | \n", + "Global economy | \n", + "0.857 | \n", + "2 | \n", + "Rate change | \n", + "0.085 | \n", + "
| 3 | \n", + "mumbai – futures contracts of rubber on the in... | \n", + "mumbai futures contracts of rubber on the ind... | \n", + "[rise, ongoing, supply, crunch, market, trader... | \n", + "close,trader,active,contract,crunch,end,market... | \n", + "3 | \n", + "Rubber trade | \n", + "0.529 | \n", + "2 | \n", + "Rate change | \n", + "0.464 | \n", + "
| 4 | \n", + "tapping has been delayed despite the fact that... | \n", + "tapping has been delayed despite the fact that... | \n", + "[tap, delay, fact, peak_season, decline, impor... | \n", + "rubber,trader,supply,base,decline,deepen,delay... | \n", + "2 | \n", + "Rate change | \n", + "0.834 | \n", + "1 | \n", + "Global economy | \n", + "0.155 | \n", + "
| ... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "
| 5270 | \n", + "cogencis, wednesday, apr 11 new delhi – india’... | \n", + "cogencis wednesday apr new delhi india s nat... | \n", + "[rubber, production, fall, year, accord, relea... | \n", + "year,rubber,end,rise,natural,month,consumption... | \n", + "2 | \n", + "Rate change | \n", + "0.666 | \n", + "1 | \n", + "Global economy | \n", + "0.330 | \n", + "
| 5271 | \n", + "cogencis, tuesday, apr 10 by prabhnoor nanda n... | \n", + "cogencis tuesday apr by prabhnoor nanda new d... | \n", + "[contract, rubber, exchange, likely, fall, ses... | \n", + "rubber,price,fall,natural,demand,likely,week,c... | \n", + "2 | \n", + "Rate change | \n", + "0.703 | \n", + "3 | \n", + "Rubber trade | \n", + "0.168 | \n", + "
| 5272 | \n", + "outlook futures contracts of natural rubber ma... | \n", + "outlook futures contracts of natural rubber ma... | \n", + "[contract, natural, rubber, trade, low, sessio... | \n", + "rubber,price,natural,crude,oil,track,contract,... | \n", + "2 | \n", + "Rate change | \n", + "0.794 | \n", + "3 | \n", + "Rubber trade | \n", + "0.204 | \n", + "
| 5273 | \n", + "cogencis, tuesday, apr 10 by shikha singh new ... | \n", + "cogencis tuesday apr by shikha singh new delh... | \n", + "[price, natural, rubber, fall, spot, market, p... | \n", + "rubber,close,price,natural,market,previous,rup... | \n", + "2 | \n", + "Rate change | \n", + "0.485 | \n", + "3 | \n", + "Rubber trade | \n", + "0.447 | \n", + "
| 5274 | \n", + "cogencis, monday, apr 9 by prabhnoor nanda new... | \n", + "cogencis monday apr by prabhnoor nanda new de... | \n", + "[contract, rubber, exchange, settle, marginall... | \n", + "rubber,price,close,contract,exchange,market,ri... | \n", + "3 | \n", + "Rubber trade | \n", + "0.531 | \n", + "2 | \n", + "Rate change | \n", + "0.469 | \n", + "
5275 rows × 10 columns
\n", + "| \n", + " | Full.story | \n", + "
|---|---|
| 0 | \n", + "Sumitomo Rubber Industries has established a n... | \n", + "
| 1 | \n", + "Spot rubber closed unchanged on Thursday. RSS ... | \n", + "
| 2 | \n", + "Delegate registration for India Rubber Meet 20... | \n", + "
| 3 | \n", + "MUMBAI – Futures contracts of rubber on the In... | \n", + "
| 4 | \n", + "Tapping has been delayed despite the fact that... | \n", + "
| ... | \n", + "... | \n", + "
| 5270 | \n", + "Cogencis, Wednesday, Apr 11 NEW DELHI – India’... | \n", + "
| 5271 | \n", + "Cogencis, Tuesday, Apr 10 By Prabhnoor Nanda N... | \n", + "
| 5272 | \n", + "OUTLOOK Futures contracts of natural rubber ma... | \n", + "
| 5273 | \n", + "Cogencis, Tuesday, Apr 10 By Shikha Singh NEW ... | \n", + "
| 5274 | \n", + "Cogencis, Monday, Apr 9 By Prabhnoor Nanda NEW... | \n", + "
5275 rows × 1 columns
\n", + "" + ], + "text/plain": [ + " Full.story\n", + "0 Sumitomo Rubber Industries has established a n...\n", + "1 Spot rubber closed unchanged on Thursday. RSS ...\n", + "2 Delegate registration for India Rubber Meet 20...\n", + "3 MUMBAI – Futures contracts of rubber on the In...\n", + "4 Tapping has been delayed despite the fact that...\n", + "... ...\n", + "5270 Cogencis, Wednesday, Apr 11 NEW DELHI – India’...\n", + "5271 Cogencis, Tuesday, Apr 10 By Prabhnoor Nanda N...\n", + "5272 OUTLOOK Futures contracts of natural rubber ma...\n", + "5273 Cogencis, Tuesday, Apr 10 By Shikha Singh NEW ...\n", + "5274 Cogencis, Monday, Apr 9 By Prabhnoor Nanda NEW...\n", + "\n", + "[5275 rows x 1 columns]" + ] + }, + "execution_count": 8, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "data" + ] + }, + { + "cell_type": "code", + "execution_count": 9, + "metadata": { + "scrolled": true + }, + "outputs": [], + "source": [ + "data.rename(columns = {'Full.story':'full_story'}, inplace = True)" + ] + }, + { + "cell_type": "code", + "execution_count": 10, + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "| \n", + " | full_story | \n", + "
|---|---|
| 0 | \n", + "Sumitomo Rubber Industries has established a n... | \n", + "
| 1 | \n", + "Spot rubber closed unchanged on Thursday. RSS ... | \n", + "
| 2 | \n", + "Delegate registration for India Rubber Meet 20... | \n", + "
| 3 | \n", + "MUMBAI – Futures contracts of rubber on the In... | \n", + "
| 4 | \n", + "Tapping has been delayed despite the fact that... | \n", + "
| ... | \n", + "... | \n", + "
| 5270 | \n", + "Cogencis, Wednesday, Apr 11 NEW DELHI – India’... | \n", + "
| 5271 | \n", + "Cogencis, Tuesday, Apr 10 By Prabhnoor Nanda N... | \n", + "
| 5272 | \n", + "OUTLOOK Futures contracts of natural rubber ma... | \n", + "
| 5273 | \n", + "Cogencis, Tuesday, Apr 10 By Shikha Singh NEW ... | \n", + "
| 5274 | \n", + "Cogencis, Monday, Apr 9 By Prabhnoor Nanda NEW... | \n", + "
5275 rows × 1 columns
\n", + "| \n", + " | full_story | \n", + "
|---|---|
| 0 | \n", + "Sumitomo Rubber Industries has established a n... | \n", + "
| 1 | \n", + "Spot rubber closed unchanged on Thursday. RSS ... | \n", + "
| 2 | \n", + "Delegate registration for India Rubber Meet 20... | \n", + "
| 3 | \n", + "MUMBAI – Futures contracts of rubber on the In... | \n", + "
| 4 | \n", + "Tapping has been delayed despite the fact that... | \n", + "
| ... | \n", + "... | \n", + "
| 5270 | \n", + "Cogencis, Wednesday, Apr 11 NEW DELHI – India’... | \n", + "
| 5271 | \n", + "Cogencis, Tuesday, Apr 10 By Prabhnoor Nanda N... | \n", + "
| 5272 | \n", + "OUTLOOK Futures contracts of natural rubber ma... | \n", + "
| 5273 | \n", + "Cogencis, Tuesday, Apr 10 By Shikha Singh NEW ... | \n", + "
| 5274 | \n", + "Cogencis, Monday, Apr 9 By Prabhnoor Nanda NEW... | \n", + "
5275 rows × 1 columns
\n", + "| \n", + " | full_story | \n", + "
|---|---|
| 4310 | \n", + "Rubber futures on TOCOM were trading higher du... | \n", + "
| \n", + " | Topic #00 | \n", + "Topic #01 | \n", + "Topic #02 | \n", + "Topic #03 | \n", + "
|---|---|---|---|---|
| 0 | \n", + "price | \n", + "month | \n", + "rupees | \n", + "price | \n", + "
| 1 | \n", + "market | \n", + "year | \n", + "price | \n", + "contract | \n", + "
| 2 | \n", + "rise | \n", + "national | \n", + "contract | \n", + "crude | \n", + "
| 3 | \n", + "natural | \n", + "give | \n", + "close | \n", + "futures | \n", + "
| 4 | \n", + "domestic | \n", + "multi | \n", + "commodity | \n", + "exchange | \n", + "
| 5 | \n", + "demand | \n", + "company | \n", + "exchange | \n", + "analysts | \n", + "
| 6 | \n", + "likely | \n", + "index | \n", + "previous | \n", + "tocom | \n", + "
| 7 | \n", + "supply | \n", + "price | \n", + "market | \n", + "fell | \n", + "
| 8 | \n", + "fall | \n", + "heavy | \n", + "end | \n", + "accord | \n", + "
| 9 | \n", + "spot | \n", + "state | \n", + "active | \n", + "cue | \n", + "
| 10 | \n", + "traders | \n", + "export | \n", + "bourse | \n", + "natural | \n", + "
| 11 | \n", + "come | \n", + "increase | \n", + "trade | \n", + "trade | \n", + "
| 12 | \n", + "base | \n", + "currency | \n", + "traders | \n", + "rise | \n", + "
| 13 | \n", + "tyre | \n", + "make | \n", + "settle | \n", + "nmce | \n", + "
| 14 | \n", + "days | \n", + "high | \n", + "variety | \n", + "week | \n", + "
| 15 | \n", + "rain | \n", + "international | \n", + "widely | \n", + "synthetic | \n", + "
| 16 | \n", + "comment | \n", + "compare | \n", + "spot | \n", + "dollar | \n", + "
| 17 | \n", + "import | \n", + "expect | \n", + "rupee | \n", + "substitute | \n", + "
| 18 | \n", + "trader | \n", + "near | \n", + "monday | \n", + "fall | \n", + "
| 19 | \n", + "outlook | \n", + "wholesale | \n", + "week | \n", + "commodity | \n", + "
| 20 | \n", + "see | \n", + "market | \n", + "follow | \n", + "shanghai | \n", + "
| 21 | \n", + "output | \n", + "denominate | \n", + "rise | \n", + "benchmark | \n", + "
| 22 | \n", + "gain | \n", + "manufacture | \n", + "detail | \n", + "mercantile | \n", + "
| 23 | \n", + "global | \n", + "report | \n", + "benchmark | \n", + "york | \n", + "
| 24 | \n", + "production | \n", + "months | \n", + "show | \n", + "warehouse | \n", + "
| 25 | \n", + "endus | \n", + "major | \n", + "unchanged | \n", + "track | \n", + "
| 26 | \n", + "largest | \n", + "service | \n", + "indian | \n", + "manufacture | \n", + "
| 27 | \n", + "expectations | \n", + "production | \n", + "sell | \n", + "gain | \n", + "
| 28 | \n", + "remain | \n", + "country | \n", + "icex | \n", + "global | \n", + "
| 29 | \n", + "countries | \n", + "products | \n", + "higher | \n", + "stock | \n", + "
| 30 | \n", + "tap | \n", + "release | \n", + "track | \n", + "decline | \n", + "
| 31 | \n", + "expect | \n", + "buyers | \n", + "futures | \n", + "compare | \n", + "
| 32 | \n", + "arrivals | \n", + "department | \n", + "gain | \n", + "support | \n", + "
| 33 | \n", + "support | \n", + "period | \n", + "high | \n", + "higher | \n", + "
| 34 | \n", + "sharp | \n", + "stock | \n", + "lower | \n", + "weigh | \n", + "
| 35 | \n", + "stockists | \n", + "earlier | \n", + "weakness | \n", + "month | \n", + "
| 36 | \n", + "sessions | \n", + "auto | \n", + "month | \n", + "accredit | \n", + "
| 37 | \n", + "manufacturers | \n", + "flood | \n", + "buy | \n", + "lower | \n", + "
| 38 | \n", + "association | \n", + "quarter | \n", + "natural | \n", + "weak | \n", + "
| 39 | \n", + "season | \n", + "take | \n", + "steady | \n", + "concern | \n", + "
| \n", + " | full_story | \n", + "preprocess_join | \n", + "
|---|---|---|
| 0 | \n", + "Sumitomo Rubber Industries has established a n... | \n", + "sumitomo industries establish natural procurem... | \n", + "
| 1 | \n", + "Spot rubber closed unchanged on Thursday RSS ... | \n", + "spot close unchanged quote steady traders fini... | \n", + "
| 2 | \n", + "Delegate registration for India Rubber Meet ... | \n", + "delegate registration meet begin meet hold rad... | \n", + "
| 3 | \n", + "MUMBAI Futures contracts of rubber on the In... | \n", + "futures contract indian commodity exchange ris... | \n", + "
| 4 | \n", + "Tapping has been delayed despite the fact that... | \n", + "tap delay despite fact peak season decline imp... | \n", + "
| ... | \n", + "... | \n", + "... | \n", + "
| 5270 | \n", + "Cogencis Wednesday Apr NEW DELHI India ... | \n", + "natural production fell year accord provisiona... | \n", + "
| 5271 | \n", + "Cogencis Tuesday Apr By Prabhnoor Nanda N... | \n", + "futures contract national multi commodity exch... | \n", + "
| 5272 | \n", + "OUTLOOK Futures contracts of natural rubber ma... | \n", + "outlook futures contract natural trade lower s... | \n", + "
| 5273 | \n", + "Cogencis Tuesday Apr By Shikha Singh NEW ... | \n", + "price natural fell spot market poor demand tra... | \n", + "
| 5274 | \n", + "Cogencis Monday Apr By Prabhnoor Nanda NEW... | \n", + "monday futures contract national multi commodi... | \n", + "
5275 rows × 2 columns
\n", + "| \n", + " | full_story | \n", + "Topic_NUmber | \n", + "Topic_name | \n", + "Topic_Propability | \n", + "Keywords | \n", + "
|---|---|---|---|---|---|
| 0 | \n", + "Sumitomo Rubber Industries has established a n... | \n", + "0 | \n", + "Stock exchange analysis | \n", + "0.462 | \n", + "price, market, rise, natural, domestic, demand... | \n", + "
| 1 | \n", + "Spot rubber closed unchanged on Thursday RSS ... | \n", + "2 | \n", + "Rubber price comparison | \n", + "0.757 | \n", + "rupees, price, contract, close, commodity, exc... | \n", + "
| 2 | \n", + "Delegate registration for India Rubber Meet ... | \n", + "1 | \n", + "Domestic market supply demand | \n", + "0.899 | \n", + "month, year, national, give, multi, company, i... | \n", + "
| 3 | \n", + "MUMBAI Futures contracts of rubber on the In... | \n", + "2 | \n", + "Rubber price comparison | \n", + "0.742 | \n", + "rupees, price, contract, close, commodity, exc... | \n", + "
| 4 | \n", + "Tapping has been delayed despite the fact that... | \n", + "0 | \n", + "Stock exchange analysis | \n", + "0.892 | \n", + "price, market, rise, natural, domestic, demand... | \n", + "
| ... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "... | \n", + "
| 5270 | \n", + "Cogencis Wednesday Apr NEW DELHI India ... | \n", + "0 | \n", + "Stock exchange analysis | \n", + "0.424 | \n", + "price, market, rise, natural, domestic, demand... | \n", + "
| 5271 | \n", + "Cogencis Tuesday Apr By Prabhnoor Nanda N... | \n", + "0 | \n", + "Stock exchange analysis | \n", + "0.450 | \n", + "price, market, rise, natural, domestic, demand... | \n", + "
| 5272 | \n", + "OUTLOOK Futures contracts of natural rubber ma... | \n", + "3 | \n", + "Commodity market price | \n", + "0.685 | \n", + "price, contract, crude, futures, exchange, ana... | \n", + "
| 5273 | \n", + "Cogencis Tuesday Apr By Shikha Singh NEW ... | \n", + "0 | \n", + "Stock exchange analysis | \n", + "0.392 | \n", + "price, market, rise, natural, domestic, demand... | \n", + "
| 5274 | \n", + "Cogencis Monday Apr By Prabhnoor Nanda NEW... | \n", + "3 | \n", + "Commodity market price | \n", + "0.447 | \n", + "price, contract, crude, futures, exchange, ana... | \n", + "
5275 rows × 5 columns
\n", + "| \n", + " | Input_document | \n", + "Topic_NUmber | \n", + "Topic_Propability | \n", + "Keywords | \n", + "
|---|---|---|---|---|
| 0 | \n", + "MUMBAI – Rubber contracts on the Indian Commod... | \n", + "1.0 | \n", + "0.9688 | \n", + "contract, exchange, rupee, commodity, price, f... | \n", + "
| \n", + " | Input_document | \n", + "Topic_NUmber | \n", + "Topic_Propability | \n", + "Keywords | \n", + "
|---|---|---|---|---|
| 0 | \n", + "MUMBAI – Rubber contracts on the Indian Commod... | \n", + "0.0 | \n", + "0.4649 | \n", + "india, month, year, send, comment, feedback, r... | \n", + "