{"id":50745,"date":"2021-06-18T00:00:00","date_gmt":"2021-06-18T07:00:00","guid":{"rendered":"https:\/\/griddb-linux-hte8hndjf8cka8ht.westus-01.azurewebsites.net\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/"},"modified":"2025-11-14T07:54:39","modified_gmt":"2025-11-14T15:54:39","slug":"twitter-sentiment-analysis-with-griddb-part-1","status":"publish","type":"post","link":"https:\/\/www.griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/","title":{"rendered":"GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 &#8211; Part 1"},"content":{"rendered":"<p><strong>\u306f\u3058\u3081\u306b<\/strong><\/p>\n<p>\u7279\u5b9a\u306e\u30c8\u30d4\u30c3\u30af\u306b\u5bfe\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u610f\u898b\u3092\u8ffd\u8de1\u3059\u308b\u305f\u3081\u306b\u3001\u65e5\u3005\u751f\u6210\u3055\u308c\u308b\u81a8\u5927\u306a\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u306b\u304a\u3051\u308b\u611f\u60c5\u3092\u628a\u63e1\u3059\u308b\u5fc5\u8981\u304c\u751f\u3058\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u7279\u5b9a\u306e\u5730\u57df\u306e\u611f\u60c5\u306e\u5024\u3092\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u4f01\u696d\u306e\u610f\u601d\u6c7a\u5b9a\u306b\u5f79\u7acb\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30d6\u30ed\u30b0\u3067\u306f\u3001\u30c4\u30a4\u30fc\u30c8\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092GridDB\u306b\u30ed\u30fc\u30c9\u3057\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u611f\u60c5\u306e\u5206\u6790\u3092\u884c\u3044\u3001matplotlib\u3092\u4f7f\u3063\u3066\u53ef\u8996\u5316\u3059\u308b\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u524d\u63d0\u6761\u4ef6<\/strong><\/p>\n<p>GridDB\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068python3\u3001matplotlib\u3001pandas\u3092\u7528\u3044\u3066\u3001\u611f\u60c5\u306e\u8a08\u7b97\u3068\u8996\u899a\u5316\u3092\u884c\u3044\u307e\u3059\u3002\u30c4\u30a4\u30fc\u30c8\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306f\u30012013\u5e74\u304b\u30892018\u5e74\u307e\u3067\u306e\u30e9\u30ca\u30d7\u30e9\u30b6\u306b\u95a2\u3059\u308b\u30c4\u30a4\u30fc\u30c8\u3092\u30a6\u30a7\u30d6\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3057\u3066\u5f97\u3089\u308c\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n<p><strong>\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u30fb\u30b9\u30ad\u30fc\u30de<\/strong><\/p>\n<p>2013\u5e74\u3001\u30d0\u30f3\u30b0\u30e9\u30c7\u30b7\u30e5\u3067\u767a\u751f\u3057\u305f\u30e9\u30ca\u30d7\u30e9\u30b6\u30d3\u30eb\u306e\u5d29\u58ca\u306b\u3088\u308a\u30011100\u4eba\u4ee5\u4e0a\u306e\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3\u95a2\u4fc2\u8005\u304c\u4ea1\u304f\u306a\u308a\u3001ZARA\u3001H&amp;M\u3001Gap\u3001Benetton\u306a\u3069\u306e\u5927\u624b\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3\u30d6\u30e9\u30f3\u30c9\u306e\u30a4\u30e1\u30fc\u30b8\u304c\u60aa\u5316\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306e\u30d5\u30a1\u30c3\u30b7\u30e7\u30f3\u30d6\u30e9\u30f3\u30c9\u306b\u5bfe\u3057\u3066\u6d88\u8cbb\u8005\u304c\u3069\u306e\u3088\u3046\u306a\u53cd\u5fdc\u3092\u793a\u3057\u305f\u306e\u304b\u3092\u8abf\u3079\u308b\u305f\u3081\u306b\u30012013\u5e74\u304b\u30892018\u5e74\u306b\u304b\u3051\u3066\u767a\u4fe1\u3055\u308c\u305f\u30e9\u30ca\u30d7\u30e9\u30b6\u306b\u95a2\u3059\u308b\u30c4\u30a4\u30fc\u30c8\u306b\u5bfe\u3057\u3066\u611f\u60c5\u5206\u6790\u3092\u884c\u3044\u307e\u3059\u3002GridDB\u30b3\u30f3\u30c6\u30ca\u3067\u4f7f\u7528\u3059\u308b\u30a8\u30af\u30bb\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5c5e\u6027\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<table border=\"1\">\n<thead>\n<tr>\n<th>\n        Field Name\n      <\/th>\n<th>\n        Data Type(GridDB)\n      <\/th>\n<th>\n        Notes\n      <\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\n        Serial No\n      <\/td>\n<td>\n        INTEGER\n      <\/td>\n<td>\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Screen Name\n      <\/td>\n<td>\n        STRING\n      <\/td>\n<td>\n        Twitter Author Name\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Twitter ID\n      <\/td>\n<td>\n        STRING\n      <\/td>\n<td>\n        Twitter handle\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Tweet\n      <\/td>\n<td>\n        STRING\n      <\/td>\n<td>\n        Tweet text\n      <\/td>\n<\/tr>\n<tr>\n<td>\n        Date\n      <\/td>\n<td>\n        STRING\n      <\/td>\n<td>\n      <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3059\u308b<\/strong><\/p>\n<p>\u30a8\u30af\u30bb\u30eb\u30d5\u30a1\u30a4\u30eb\uff08.xlsx\uff09\u3092\u8aad\u307f\u8fbc\u3093\u3067\u5404\u884c\u3092\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3057\u3001pandas\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u683c\u7d0d\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u30a8\u30af\u30bb\u30eb\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u8907\u6570\u306e\u30b7\u30fc\u30c8\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u5404\u30b7\u30fc\u30c8\u3092\u7e70\u308a\u8fd4\u3057\u51e6\u7406\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4ee5\u4e0b\u306f\u3001pandas\u3092\u4f7f\u3063\u3066\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u3092\u8aad\u307f\u8fbc\u3080\u305f\u3081\u306e\u30b3\u30fc\u30c9\u30b9\u30cb\u30da\u30c3\u30c8\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">import pandas as pd\nimport xlrd\n\nlist_sheetnames = pd.ExcelFile(\"sample_dataset.xls\").sheet_names\ntotal_num_sheets = len(list_sheetnames)\n\nfor i in range(total_num_sheets):\n    sheet_read = pd.read_excel(\"sample_dataset.xls\", list_sheetnames[i])\n    tweet_data_df = pd.DataFrame(sheet_read)\n    print(tweet_data_df[:5])<\/code><\/pre>\n<\/div>\n<p>\u3055\u3089\u306b\u3001\u30b5\u30f3\u30d7\u30eb\u306e\u30a8\u30af\u30bb\u30eb\u30d5\u30a1\u30a4\u30eb\u306e\u3059\u3079\u3066\u306e\u5217\u3092\u53d6\u5f97\u3057\u3001\u30ea\u30b9\u30c8\u306e\u5f62\u3067\u4fdd\u5b58\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">tweets_list = sheet_read[\"Tweet\"].values.tolist()\ntweet_date_list = sheet_read[\"Date\"].values.tolist()\ntweet_author_names_list = sheet_read[\"Screen Name\"].values.tolist()\ntweet_author_handle_list = sheet_read[\"Twitter Id\"].values.tolist()\nprint(tweet_author_handle_list[:5])<\/code><\/pre>\n<\/div>\n<p>\u30b3\u30fc\u30c9\u30b9\u30cb\u30da\u30c3\u30c8\u306e\u51fa\u529b\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-sh\">\/Users\/vj\/PycharmProjects\/sentiment_analysis_blogs\/venv\/bin\/python \/Users\/vj\/PycharmProjects\/sentiment_analysis_blogs\/main.py\n['VicUnions', 'ituc', 'shopjanery', 'EthicalBrandMkt', 'CattyDerry']\n['Vic Trades Hallu200fxa0', 'ITUCu200fxa0', 'Jane Pearsonu200fxa0', 'Ethical Brand Marketingu200fxa0', 'CATTY DERRYu200fxa0']\n\nProcess finished with exit code 0<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001\u611f\u60c5\u5206\u6790\u3092\u52b9\u679c\u7684\u306b\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u3001\u30c7\u30fc\u30bf\u306e\u30af\u30ea\u30fc\u30cb\u30f3\u30b0\u3068\u524d\u51e6\u7406\u3092\u884c\u3044\u307e\u3059\u3002\u30bb\u30f3\u30c1\u30e1\u30f3\u30c8\u5206\u6790\u3092\u52b9\u679c\u7684\u306b\u884c\u3046\u305f\u3081\u306b\u306f\u3001\u30ea\u30f3\u30af\u3084\u7279\u6b8a\u6587\u5b57\u3092\u524a\u9664\u3057\u3066\u30c4\u30a4\u30fc\u30c8\u30c6\u30ad\u30b9\u30c8\u3092\u30af\u30ea\u30fc\u30f3\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\"># a function to clean the tweets using regular expression\ndef clean_tweet(tweet):\n    '''\n    Utility function to clean the text in a tweet by removing\n    links and special characters using regex.\n    '''\n    return ' '.join(re.sub(\"(@[A-Za-z0-9]+)|([^0-9A-Za-z t])|(w+:\/\/S+)\", \" \", tweet).split())<\/code><\/pre>\n<\/div>\n<p>** GridDB\u30b3\u30f3\u30c6\u30ca\u306b\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3059\u308b**<\/p>\n<p>\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u683c\u7d0d\u3055\u308c\u305f\u30c7\u30fc\u30bf\u3092\u3001put\u307e\u305f\u306fmulti-put\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066GridDB\u30b3\u30f3\u30c6\u30ca\u306b\u30d5\u30a3\u30fc\u30c9\u3057\u307e\u3059\u3002\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3059\u308b\u305f\u3081\u306eGridDB\u30b3\u30f3\u30c6\u30ca\u3092\u4f5c\u6210\u3057\u3001\u5404\u30b3\u30f3\u30c6\u30ca\u306b\u306f\u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306e\u5bfe\u5fdc\u3059\u308b\u30b7\u30fc\u30c8\u540d\u306e\u30c7\u30fc\u30bf\u3092\u683c\u7d0d\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">factory = griddb.StoreFactory.get_instance()\n\n# Get GridStore object\n# Provide the necessary arguments\ngridstore = factory.get_store(\n    host=argv[1],\n    port=int(argv[2]),\n    cluster_name=argv[3],\n    username=argv[4],\n    password=argv[5]\n)\n\ncurr_sheet_griddb_container = curr_sheet\n\n# create collection for the tweet data in the sheet\ntweet_data_container_info = griddb.ContainerInfo(circuits_container,\n                                                [[\"sno\", griddb.Type.INTEGER],\n                                                    [\"twitter_name\", griddb.Type.STRING],\n                                                    [\"twitter_id\", griddb.Type.STRING],\n                                                    [\"tweet\", griddb.Type.STRING],\n                                                    [\"date\", griddb.Type.STRING]],\n                                                griddb.ContainerType.COLLECTION, True)\n\ntweets_columns = gridstore.put_container(tweet_data_container_info)<\/code><\/pre>\n<\/div>\n<p>\u6b21\u306e\u30b9\u30c6\u30c3\u30d7\u3067\u306f\u3001put_rows\u95a2\u6570\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u3092\u884c\u306b\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\"># Put rows\n# Pass the data frames as param\ntweets_columns.put_rows(tweet_data_df)<\/code><\/pre>\n<\/div>\n<p>\u30c7\u30fc\u30bf\u3092\u524d\u51e6\u7406\u3057\u305f\u5f8c\u3001\u4e0e\u3048\u3089\u308c\u305f\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u30b9\u30ad\u30fc\u30de\u306eGridDB\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u30c7\u30fc\u30bf\u3092\u633f\u5165\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/strong><\/p>\n<p>get_container\u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u3063\u3066\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u305d\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u7167\u4f1a\u3057\u3066\u30c7\u30fc\u30bf\u3092\u62bd\u51fa\u3057\u307e\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\"># Define the container names\ntweet_dataaset_container = excel_sheet_name\n\n# Get the containers\ntweet_data = gridstore.get_container(tweet_dataaset_container)\n\n# Fetch all rows - tweet_container\nquery = tweet_data.query(\"select *\")\nrs = query.fetch(False)\nprint(f\"{tweet_dataaset_container} Data\")\n\n# Iterate and create a list\nretrieved_data = []\nwhile rs.has_next():\n    data = rs.next()\n    retrieved_data.append(data)\n\nprint(retrieved_data)\n\n# Convert the list to a pandas data frame\ntweet_dataframe = pd.DataFrame(retrieved_data,\n                                    columns=['sno', 'twitter_name', 'twitter_id', 'tweet', 'date'])\n\n# Get the data frame details\nprint(tweet_dataframe)\ntweet_dataframe.info()<\/code><\/pre>\n<\/div>\n<p>\u3053\u306e\u30af\u30a8\u30ea\u3067\u3001\u30c7\u30fc\u30bf\u30bb\u30c3\u30c8\u306b\u542b\u307e\u308c\u308b2013\u5e74\u304b\u30892018\u5e74\u307e\u3067\u306e\u3059\u3079\u3066\u306e\u30c4\u30a4\u30fc\u30c8\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30c4\u30a4\u30fc\u30c8\u30c7\u30fc\u30bf\u30b3\u30f3\u30c6\u30ca\u304b\u3089\u884c\u5168\u4f53\u3092\u9078\u629e\u3059\u308b\u57fa\u672c\u7684\u306aTQL\u6587\u3067\u3059\u3002<\/p>\n<div class=\"clipboard\">\n<pre><code class=\"language-py\">query = tweet_data.query(\"select *\")\n<\/code><\/pre>\n<\/div>\n<p>\u9069\u5f53\u306a\u30af\u30a8\u30ea\u3092\u6e21\u3057\u3066\u3001\u3042\u308b\u6761\u4ef6\u3067\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3055\u3089\u306b\u3001\u305d\u306e\u30ea\u30b9\u30c8\u3092\u30c7\u30fc\u30bf\u30d5\u30ec\u30fc\u30e0\u306b\u30de\u30c3\u30d4\u30f3\u30b0\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>\u307e\u3068\u3081<\/strong><\/p>\n<p>\u4eca\u56de\u306e\u30d6\u30ed\u30b0\u306e\u30d1\u30fc\u30c81\u3067\u306f\u3001\u30a8\u30af\u30bb\u30eb\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u611f\u60c5\u5206\u6790\u7528\u306e\u30c4\u30a4\u30fc\u30c8\u30c7\u30fc\u30bf\u3092\u524d\u51e6\u7406\u3059\u308b\u65b9\u6cd5\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3057\u305f\u3002\u3055\u3089\u306b\u3001GridDB\u30b3\u30f3\u30c6\u30ca\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u3001\u5168\u4f53\u306b\u30af\u30a8\u30ea\u3092\u304b\u3051\u3066\u5fc5\u8981\u306a\u5c5e\u6027\u3092\u62bd\u51fa\u3057\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9<\/strong><\/p>\n<p><a href=\"https:\/\/github.com\/6vedant\/SentimentAnalysisPart1\">GitHub<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u7279\u5b9a\u306e\u30c8\u30d4\u30c3\u30af\u306b\u5bfe\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u610f\u898b\u3092\u8ffd\u8de1\u3059\u308b\u305f\u3081\u306b\u3001\u65e5\u3005\u751f\u6210\u3055\u308c\u308b\u81a8\u5927\u306a\u30c6\u30ad\u30b9\u30c8\u30c7\u30fc\u30bf\u306b\u304a\u3051\u308b\u611f\u60c5\u3092\u628a\u63e1\u3059\u308b\u5fc5\u8981\u304c\u751f\u3058\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001\u7279\u5b9a\u306e\u5730\u57df\u306e\u611f\u60c5\u306e\u5024\u3092\u53ef\u8996\u5316\u3059\u308b\u3053\u3068\u3067\u3001\u4f01\u696d\u306e\u610f\u601d\u6c7a\u5b9a\u306b\u5f79\u7acb\u3066\u308b\u3053 [&hellip;]<\/p>\n","protected":false},"author":41,"featured_media":50126,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1005],"tags":[],"class_list":["post-50745","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-1005"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 - Part 1 | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"description\" content=\"\u306f\u3058\u3081\u306b\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/twitter-sentiment-analysis-with-griddb-part-1\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 - Part 1 | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:description\" content=\"\u306f\u3058\u3081\u306b\" \/>\n<meta property=\"og:url\" content=\"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/twitter-sentiment-analysis-with-griddb-part-1\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-18T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-14T15:54:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.griddb.net\/wp-content\/uploads\/2019\/09\/python-blog1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1160\" \/>\n\t<meta property=\"og:image:height\" content=\"653\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\"},\"headline\":\"GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 &#8211; Part 1\",\"datePublished\":\"2021-06-18T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/\"},\"wordCount\":59,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2019\/09\/python-blog1.png\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/\",\"url\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/\",\"name\":\"GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 - Part 1 | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\/\/griddb.net\/en\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#primaryimage\"},\"thumbnailUrl\":\"\/wp-content\/uploads\/2019\/09\/python-blog1.png\",\"datePublished\":\"2021-06-18T07:00:00+00:00\",\"dateModified\":\"2025-11-14T15:54:39+00:00\",\"description\":\"\u306f\u3058\u3081\u306b\",\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#primaryimage\",\"url\":\"\/wp-content\/uploads\/2019\/09\/python-blog1.png\",\"contentUrl\":\"\/wp-content\/uploads\/2019\/09\/python-blog1.png\",\"width\":1160,\"height\":653},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/griddb.net\/en\/#website\",\"url\":\"https:\/\/griddb.net\/en\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL\",\"publisher\":{\"@id\":\"https:\/\/griddb.net\/en\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/griddb.net\/en\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/griddb.net\/en\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\/\/griddb.net\/en\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/griddbcommunity\/\",\"https:\/\/x.com\/GridDBCommunity\",\"https:\/\/www.linkedin.com\/company\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\/\/www.griddb.net\/ja\/author\/griddb-admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 - Part 1 | GridDB: Open Source Time Series Database for IoT","description":"\u306f\u3058\u3081\u306b","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/twitter-sentiment-analysis-with-griddb-part-1\/","og_locale":"ja_JP","og_type":"article","og_title":"GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 - Part 1 | GridDB: Open Source Time Series Database for IoT","og_description":"\u306f\u3058\u3081\u306b","og_url":"https:\/\/griddb.net\/ja\/\u672a\u5206\u985e\/twitter-sentiment-analysis-with-griddb-part-1\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2021-06-18T07:00:00+00:00","article_modified_time":"2025-11-14T15:54:39+00:00","og_image":[{"width":1160,"height":653,"url":"https:\/\/www.griddb.net\/wp-content\/uploads\/2019\/09\/python-blog1.png","type":"image\/png"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"\u57f7\u7b46\u8005":"griddb-admin","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#article","isPartOf":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/"},"author":{"name":"griddb-admin","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233"},"headline":"GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 &#8211; Part 1","datePublished":"2021-06-18T07:00:00+00:00","dateModified":"2025-11-14T15:54:39+00:00","mainEntityOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/"},"wordCount":59,"commentCount":0,"publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2019\/09\/python-blog1.png","inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/","url":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/","name":"GridDB\u306b\u3088\u308bTwitter\u611f\u60c5\u5206\u6790 - Part 1 | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/griddb.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#primaryimage"},"image":{"@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2019\/09\/python-blog1.png","datePublished":"2021-06-18T07:00:00+00:00","dateModified":"2025-11-14T15:54:39+00:00","description":"\u306f\u3058\u3081\u306b","inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/ja\/%e6%9c%aa%e5%88%86%e9%a1%9e\/twitter-sentiment-analysis-with-griddb-part-1\/#primaryimage","url":"\/wp-content\/uploads\/2019\/09\/python-blog1.png","contentUrl":"\/wp-content\/uploads\/2019\/09\/python-blog1.png","width":1160,"height":653},{"@type":"WebSite","@id":"https:\/\/griddb.net\/en\/#website","url":"https:\/\/griddb.net\/en\/","name":"GridDB: Open Source Time Series Database for IoT","description":"GridDB is an open source time-series database with the performance of NoSQL and convenience of SQL","publisher":{"@id":"https:\/\/griddb.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/griddb.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/griddb.net\/en\/#organization","name":"Fixstars","url":"https:\/\/griddb.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/griddb.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/4fe914ca9576878e82f5e8dd3ba52233","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/griddb.net\/en\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/www.griddb.net\/ja\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50745","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/comments?post=50745"}],"version-history":[{"count":1,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50745\/revisions"}],"predecessor-version":[{"id":51582,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/posts\/50745\/revisions\/51582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/media\/50126"}],"wp:attachment":[{"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/media?parent=50745"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/categories?post=50745"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.griddb.net\/ja\/wp-json\/wp\/v2\/tags?post=50745"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}