Show HN: Generate a quiz from a Wikipedia page

README.md

To run:

requirements.txt contains the libraries/modules you’ll need. You’ll also need to download some data so that the nltk library works. To do this, start the Python console (ie. type python on the command line) and then:

>>> import nltk
>>> nltk.download(‘averaged_perceptron_tagger’)

Run server.py to get the Flask endpoints working, and then open up index.html – that’s all!

Potential Future Improvements:

Choosing more appropriate multiple-choice options, especially for numbers

ie. if the answer is ‘1960s’, show ‘1950s’ as another option.

Ignoring the less text heavy parts of a Wikipedia page.

Creating more interesting grammar for the text chunker, which would lead to more interesting question types.

Some of the questions presented currently lack context about what the question is referring to. A further version of this project would attempt to interpret the context of the sentence in question and include that in the question.

ie. references to ‘they’ or ‘he’ would be replaced by what


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/HxdR7xR6-30/WikiQuiz

Original article

SpaceX successfully lands its first-stage Falcon 9 rocket at Cape Canaveral

 Success all around for today’s SpaceX mission. The company successfully launched a Dragon spacecraft that is on its way to the International Space Station. SpaceX also successfully landed the first stage of its Falcon 9 rocket at Cape Canaveral. The weather was cloudy but it looks like it wasn’t enough to stop SpaceX from launching a rocket. At 9:39 ET, the Falcon 9 took off from… Read More


Original URL: http://feedproxy.google.com/~r/Techcrunch/~3/9crFZsaQyHY/

Original article

Screenwriting Software Showdown: Final Draft vs. Celtx

In a world where people tell their stories on film from ideas that start on paper, there are two powerful platforms that provide all the tools budding screenwriters need: Final Draft and Celtx. One is the entertainment industry standard. The other is free for all to use. But this Sunday, only one can be the best in…Read more…


Original URL: http://feeds.gawker.com/~r/lifehacker/full/~3/hQskZspwOE4/screenwriting-software-showdown-final-draft-vs-celtx-1792519226

Original article

SILE Typesetting System

SILE is a typesetting system.
Its job is to produce beautiful printed documents.
The best way to understand what SILE is and what it does is to compare it to other systems which you may have heard of.

SILE versus Word

When most people produce printed documents using a computer, they usually use software such as Word (part of Microsoft Office) or Writer (part of Open/LibreOffice) or similar–word processing software.
SILE is not a word processor; it is a typesetting system.
There are several important differences.

The job of a word processor is to produce a document that looks exactly like what you type on the screen.
SILE takes what you type and considers it instructions for producing a document that looks as good as possible.

For instance, in a word processor, you keep typing and when you hit the right margin, your cursor will move to the next line.
It is showing you


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/8f-g6NWgj88/

Original article

Ticketmaster Migrates Infrastructure to AWS

Valentine’s Day was a nail-biter for Jody Mulkey, chief technology officer at Ticketmaster. Coming off high-profile Grammy performances Sunday night, both Chance the Rapper and thrash-metal band Metallica put tickets on sale for their upcoming tours. Metallica went at 6:00 a.m. ET and Chance at 4:00 p.m. As fans flooded onto Ticketmaster’s website, Mr. Mulkey […]


Original URL: http://feedproxy.google.com/~r/feedsapi/BwPx/~3/58X8xsJ1IWY/

Original article

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: