Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Novelpedia #104

Open
Ozuru opened this issue Nov 2, 2015 · 1 comment
Open

Novelpedia #104

Ozuru opened this issue Nov 2, 2015 · 1 comment

Comments

@Ozuru
Copy link

Ozuru commented Nov 2, 2015

My submission can be viewed here: https://github.com/Ozuru/Novelpedia

I have absolutely no experience with AI, yet, so this is a quick project in Python that I had the idea for. The script works in the following way:

  1. Get a random article.
  2. Send a request to get that random article's introduction.
  3. Parse the JSON reply to have the introduction in plain-text.
  4. Attempt to find the end of the first sentence using regular expressions.
  5. Sum the count of the sentence's words, using regular expressions, and then print it into the output file if it still needs populated.

If you have any questions or suggestions for improvement, let me know!

@enkiv2
Copy link

enkiv2 commented Nov 2, 2015

I'd recommend limiting it to featured-status articles, because the majority
of articles on Wikipedia in the general pool are machine-generated stubs
related to geography.

On Mon, Nov 2, 2015 at 11:01 AM Ozuru notifications@github.com wrote:

My submission can be viewed here: https://github.com/Ozuru/Novelpedia

I have absolutely no experience with AI, yet, so this is a quick project
in Python that I had the idea for. The script works in the following way:

  1. Get a random article.
  2. Send a request to get that random article's introduction.
  3. Parse the JSON reply to have the introduction in plain-text.
  4. Attempt to find the end of the first sentence using regular
    expressions.
  5. Sum the count of the sentence's words, using regular expressions,
    and then print it into the output file if it still needs populated.

If you have any questions or suggestions for improvement, let me know!


Reply to this email directly or view it on GitHub
#104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants