Giter VIP home page Giter VIP logo

release-namer's Introduction

Rando Namer

A quick script for auto-generating a release name in the [adjective]_[noun] format given a website as source input.

The NLP part-of-speech tagger isn't perfect, but what is?

Setup

gem install rbtagger
gem install nokogiri

Simple Usage

With no arguments, one suggestion will be returned using the argument defaults. When no website is passed, it defaults to Special:Random which loads a random article from Wikipedia.

ruby namer.rb

Returns:

  • available_metres

Better Usage

You can optionally pass the number of suggections you want returned, enforce proper nouns, and a list of zero or more websites to crawl - used to determine the words available for the suggestions.

Better Example 1

ruby namer.rb --suggestions=5 --proper=1

Returns:

  • intext_creative
  • spanish_theologia
  • precise_deutsch
  • mystic_Ávila
  • stark_ariosophy

Better Example 2

ruby namer.rb --suggestions=5 --proper=1 \
	http://en.wikipedia.org/wiki/Theodore_Roosevelt

Returns:

  • post_indian
  • retrieved_trail
  • critical_toucey
  • domestic_indian
  • milkandwater_airdrop

Better Example 3

ruby namer.rb --suggestions=5 --proper=1 \
	http://en.wikipedia.org/wiki/Theodore_Roosevelt \
	http://en.wikipedia.org/wiki/Franklin_D._Roosevelt

Returns:

  • ill_november
  • panamanian_allen
  • stopwatch_fdr
  • difficult_w
  • monetary_roosevelt

release-namer's People

Contributors

robfrawley avatar

Watchers

James Cloos avatar  avatar

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.