Giter Club home page Giter Club logo

namealizer's People

Contributors

leonardmh avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

namealizer's Issues

Add an option for just calling the word formatter directly

The word formatting features of this tool are fairly robust and could be more widely useful if you could just call the formatter directly from the command line.

All of that functionality is already broken out into a separate function anyways so it shouldn't be too hard.

Update tool to use an easier to remember format style.

Currently the user is required to remember format styles which are defined by me. This is less than ideal. I think the best way to do this is to allow the user to define their own arbitrary separator and then specify a standard word format which would follow the currently existing formatting options.

This change would affect several things:

  1. I would have to update the command line options to allow the user to specify wordstyle and separator.
  2. These changes will require updates to the tests.
  3. This will require a re-write of the README.

Overall this is definitely worth it and needs to be done before any further improvements are bolted on top.

Freshly cloning this repository onto my Mac does not result in a working program

This should be as easy to use as possible which means download, install, and use. Even more ideally the install step should be optional. This currently clones with the correct permissions to use right out of the box but the hashbang isn't set correctly. I think it was developed for use on a Linux machine originally.

Occasional issue with exceeding boundaries of some sort of list

I received the following error when just using the tool:

Traceback (most recent call last):
  File "namealizer", line 212, in <module>
    main()
  File "namealizer", line 204, in main
    string_to_print = "{} {}".format(get_random_word(dictionary), get_random_word(dictionary))
  File "namealizer", line 113, in get_random_word
    word_index = random.randint(0, len(dictionary[starting_letter]) - 1)
IndexError: list index out of range

Implement interacting with compressed files for dictionaries (tar files with .dict extension)

Since the dictionaries are currently just implemented as pure plaintext they could likely see some serious storage benefits from being stored and transmitted as compressed files.

Python offers pretty good support out of the box for interacting with compressed files so some benchmarking may be in order to see if there are any real benefits to this. If so then this will be integrated into the next release.

Make a web based interface for this tool

I think the two most likely use cases for this script are:

  1. As a module that others import into their own code. In which case I'll need to work on PIP support.
  2. As a web interface that people can use or tie into as an API. This will likely be a little bit of work and is worth looking at as a v1.0+ feature.

The dictionary importer imports the first word of a "letter group" as a list

When working on the duplicate remover I noticed that a lot of extra single-letter-words were being generated. After diving into the issue a little bit with a smaller dictionary I realized that this was due to a bug in the dictionary importer.

Given a list of words like:

aardvark
antietam
antonym

These would be imported in as the following list:

['a', 'a', 'r', 'd', 'v', 'a', 'r', 'k', 'antietam', 'antonym']

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.