GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - plotlabs/twitter-ner-python: Detects an Organisation's name from a list of tweets extracted using the Algorithmia API

BranchesTags
Open more actions menu

Latest commit

 

History

14 Commits
14 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
data_preprocessing.py
data_preprocessing.py
 
 
download_wiki.py
download_wiki.py
 
 
experiments.py
experiments.py
 
 
keras_prototpye.py
keras_prototpye.py
 
 
ner_main.py
ner_main.py
 
 

Repository files navigation

##Organization Name Recogntion from Tweets

This repository contains python code which detects an Organization's name from a list of tweets extracted using the Algorithmia API .

The main executable file is ner_main.py. A python dictionary is input to the function pull_tweets(), with the dictionary keys set as:

{
	"query": Search Keyword/Organization Name 
	"numTweets": Number of Tweets
	"auth": Algorithmia API authorization Token
	"app_key": Twitter Application Key 
	"app_secret": Twitter Application Secret Token
	"oauth_token": Twitter Application Authorization Token
	"oauth_token_secret": Twitter Application Authorization Secret Token
}

The python file can be executed from the terminal via

python ner_main.py

Test Case

for input query:

input = {
        "query": "Google",
        "numTweets": "700",
        "auth": {
            "app_key": 'your_consumer_key',
            "app_secret": 'your_consumer_secret_key',
            "oauth_token": 'your_access_token',
            "oauth_token_secret": 'your_access_token_secret'
        }
    }

The following output is obtained:

[{

      'ORGANIZATION':Counter(      {  
         'Nations':6,
         'First':6,
         'Services':2,
         'TV':2,
         'Oils':1,
         'Soup':1,
         'Zenit':1,
         'Northwest':1,
         'Philip':1,
      }      )
   }
]

About

Detects an Organisation's name from a list of tweets extracted using the Algorithmia API

plotlabs.io

Topics

nernlp-machine-learningpython

Resources

Readme
MIT license
Activity
Custom properties

Stars

1 star

Watchers

3 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.