Skip to content

hexapode/an-array-of-portuguese-words

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

an-array-of-portuguese-words

An array of ~180,00 Portuguese words sort by popularity. I build the list from internet crawling. Works with node and browserify.

Inspired / Fork from https://github.com/zeke/an-array-of-english-words

Programmatic Usage

To use the module in Javascript code, install it locally:

npm install an-array-of-portuguese-words --save

Then:

var words = require("an-array-of-portuguese-words")
var funWords = words.filter(function(w) { return !!w.match(/^fun/i) })
console.log(funWords)

Command Line Usage

There's a CLI that prints all words to STDOUT. Install it globally:

npm i -g an-array-of-portuguese-words
palavra | grep queijo

About

An array of ~180,000 Portuguese words sorted by popularity derived from internet scrapping.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%