Giter Club home page Giter Club logo

pantheon's People

Contributors

carawarner avatar

Stargazers

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

Watchers

 avatar  avatar

pantheon's Issues

example

hey im trying to use this library but unfortunetly i dont known how.

Can u show me a example file where 1 god is generated?
i tried

import pantheon as pantheon
pantheon.tokens.pick_gene_pool("sci-fi")
pantheon.gods.God("hunting", "art")

but i get some errors
eq AttributeError: module 'pantheon' has no attribute 'tokens'

POS Filtering is Imperfect

Challenge

NLTK's part of speech filtering isn't perfect. This leads to some non-sensical results.

The primary tokens list is a list of plural nouns generated by filtering for NNS. It often catches words that end in 's' but aren't plural nouns, such as "becomes" or "hers" or "besides".

The Goddess of Storms makes sense.
The Goddess of Becomes does not.

The secondary tokens list is a list of gerunds generated by filtering for VBG. It sometimes catches adjectives that end in '-ing', such as "interesting".

The God of Hunting makes sense.
The God of Interesting does not.

Solution?

To date, I've been trying to address this by adding mis-tagged words to the stopwords list. This isn't a good solution for several reasons. First, it's manual and therefore incredibly slow. Second, if I ever decide to use ADJ the false gerunds I'm adding to stopwords.txt (such as "interesting") will be suppressed.

Is there a better solution?

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.