Top Banner
Making a company searcher or how two Swedes conquered the west
34
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: The Company Searcher

Making a company searcheror how two Swedes conquered the west

Page 2: The Company Searcher

About us…

Page 3: The Company Searcher

In common

• College freshmen• Likes

programming• From Sweden

Page 4: The Company Searcher

• 19 years old• Makes electronic music

Samuel

Page 5: The Company Searcher

• 18 years old• Plays the guitar

Sebastian

Page 6: The Company Searcher

What have we done whilst being here?

Page 7: The Company Searcher

So far, we’ve written a program in Python…

Page 8: The Company Searcher

Its purpouse is to help ISSIP in the search for new members…

Page 9: The Company Searcher

It does so by searching the list for the company the user want to search for, and writes to a local list...

Page 10: The Company Searcher

The list contains basic information, such as current rank, and some other numbers.

Page 11: The Company Searcher

The idea for it sprung from the mind of Jim Spohrer, our mentor…

Page 12: The Company Searcher

We had a meeting, brainstorming about functionality and elaborating the idea.

Page 13: The Company Searcher

Then we got to work…

Page 14: The Company Searcher

Writing lines of codes, and trying to figure out why it wasn’t working…

Page 15: The Company Searcher

After a while we decided to split the work, amplifying the effectivity…

Page 16: The Company Searcher

Which it did. We figured out the problems much faster…

Page 17: The Company Searcher

And almost two weeks after we started, we had a functional program.

Page 18: The Company Searcher

But how does it work?

Page 19: The Company Searcher

Let’s explain the program without complex words…

Page 20: The Company Searcher

It starts by asking the user for a company name…

Program UserWhich company?

User input

Page 21: The Company Searcher

Then it checks if the company is on the Forbes Global 2000 list…

Program Company on list? Forbes.com

Yes

Page 22: The Company Searcher

If it’s a match, the program extracts the useful data…

Program Forbes.comInformation

Page 23: The Company Searcher

After that, it checks the company’s wikipedia page and extracts the summary and all the links in the summary…

ProgramGive me the summary and links Wikipedia.org

Summary and links

Page 24: The Company Searcher

Then, it opens all the links from the summary and extracts their summaries…

ProgramGive me the summary Wikipedia.orgGive me the summary

Give me the summary

Give me the summaryGive me the

summary

Give me the summary

Summaries

Page 25: The Company Searcher

Finally it writes everything all to a local *.txt, where * is the company’s name as it is written on forbes.com.

Program *.txt computer

Page 26: The Company Searcher

Here’s a complete visualization of the process.

What company do you want to search for?

User Input

Is it on the Forbes Global 2000 list?

Yes

NoExit

Check Wikipedia

Extract summary and links Open links and extract

summary

Extract information

Write to *.txt file

Exit

Page 27: The Company Searcher

What about the future of the program?

Page 28: The Company Searcher

The future holds a lot of bug-fixing, but also additional features…

Page 29: The Company Searcher

Like adding a way for the program to read text files using Natural Language Processing to further enhance the capability…

Page 30: The Company Searcher

We’re also planning features that makes it easier for people to use…

Page 31: The Company Searcher

Such as adding speech-to-text and text-to-speech, and porting it to mobile devices…

Page 32: The Company Searcher

But before that, we’ll add a pretty user interface, to make it easier to use…

Page 33: The Company Searcher

When we’ve done all that we’ll maybe even expand it to not search only Wikipedia and Forbes, but all of the web.

Page 34: The Company Searcher

The endBy Sebastian Grunditz and Samuel Håkansson