Giter Site home page Giter Site logo

ali-aka-ahmed / fomctranscriptanalysis Goto Github PK

View Code? Open in Web Editor NEW
25.0 25.0 9.0 647.95 MB

Textual analysis of FOMC Transcripts. My research examines the relationship between words said during FOMC meetings, and changes in Federal Funds Rate. You can walk through my data cleaning, processing, and analysis process here.

Jupyter Notebook 89.91% Python 10.09%
economics nlp-machine-learning scikit-learn

fomctranscriptanalysis's People

Contributors

ali-aka-ahmed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fomctranscriptanalysis's Issues

Stemming not working

Hi,
I am trying to rebuild your code and as I am totally new in programming and python I have a question/ issue. While executing the part of stemming I always get some errors. I refer to this part of the code:

FOMC19820202meetingStop.txt -> FOMC19820202meetingStopstemmed.txt
In [11]:

i = 0

for doc in sorted_transcripts:

!python porterstemmer.py {doc}

i += 1

print("File " + str(i) + " of " + str(len(sorted_transcripts)) + " Completed")

print(str(int(i * 100 / len(sorted_transcripts))) + "%")

We will now re-re-adjust our sorted_transcripts list
In [12]:

run all the adjusting of variable sorted_transcripts in order

mod_transcripts = []
for link in sorted_transcripts:
mod_transcripts.append(str(link)[:-4] + "stemmed.txt")
sorted_transcripts = mod_transcripts
print("Number of Documents", len(sorted_transcripts))
Number of Documents 216

Most likely I think there is somewhere a mistake within these two lines:

for doc in sorted_transcripts:

!python porterstemmer.py {doc}

What do you think?

Would help me a lot if you help me out.
As I mentioned, I am completely new in Programming, so I'm sorry if I miss something obvious for you.

All the best,
Lukas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.