List of ~240,000 Persian words

Overview

an-array-of-persian-words

Downloads Size

List of ~240,000 English words. Derived from the Dehkhoda dictionary.

Install

npm:

npm install an-array-of-persian-words

Use

var words = require('an-array-of-persian-words')

console.log(words.filter(d => /آب/.test(d)))

Yields:

[
  'آب',
  'آب آسیا',
  'آب آشنا',
  'آب آلو',
  'آب آمیخته',
  'آب آورد',
  'آب آورده',
  'آب آهک',
  // …and many more
]

API

anArrayOfPersianWords

Array.<string> — List of all Persian words, according to dehkhoda dictionary.

CLI

Install the CLI globally:

npm i -g an-array-of-persian-words

Now run words to print all the words to stdout:

words

Use grep to filter by pattern:

words | grep 'آفتاب'

Use egrep to filter with regular expressions:

words | egrep '^آب'            # start with 'آب'
words | egrep 'دان$'      # end with 'دان'
words | egrep 'ان?ت$'           # end in 'ان' or 'ت'

Use wc to find out how many شهر words there are:

words | grep 'شهر' | wc -l

Ten random ten-letter words (note: on macOS, do brew install coreutils to get gshuf):

$ words | egrep '^.{10}$' | gshuf | head -10

Related

MIT © Peyman farahmand

You might also like...

Kyrgyz / Kazakh numbers-to-words converter

Kyrgyz / Kazakh numbers-to-words converter

Mar 12, 2022

A js program generate random 12 words metamask mnemonic and check the balance in the account.

Metamask-Mnemonic-Brute-Force A js program random generate 12 words metamask mnemonic and check the balance in the account. Requirement ethers web3 bi

Dec 25, 2022

🧐 Precisely count words

Count Words Precisely count words. Usage The API is the same on all this platforms ✔️ Deno 🦕 import { countWords } from "https://deno.land/x/count_wo

Jun 24, 2022

Get a verse(an aya) from the Quran during your coding session 💻 , stay connected with the words of Allah. 🕋

Get a verse(an aya) from the Quran during your coding session 💻 , stay connected with the words of Allah. 🕋

Ayat 📝 Get a verse(an aya) from the Quran during your coding session 💻 stay connected with the words of Allah. 💚 🕋 Release Notes 1.0.0 Get random

Jan 2, 2023

Find root-affix combinations of English words.

Find root-affixes of word 查找英语单词的词根词缀组合。 查找规则 直接返回小于等于长度为 2 的单词 先获取单词原形,还原复数、比较级、过去式等单词形式 再通过穷举获得所有的词根词缀组合 然后去除不完整的组合,即该拼写组合 != 单词 在所有符合条件的组合中,比较所有组合的

Dec 22, 2022

A browser/Chrome extension that replaces Leftist #trigger words with "bad thing" and "current bad thing". Inspired by Tim Pool.

BadThings browser/Chrome extension replaces Leftist #trigger words with 'bad things' and 'current bad thing'. Quickstart This project uses React 18 an

Sep 5, 2022

This package is for developers to be able to easily integrate bad word checking into their projects.\r This package can return bad words in array or regular expression (regex) form.

Vietnamese Bad Words This package is for developers to be able to easily integrate bad word checking into their projects. This package can return bad

Nov 3, 2022

This project is about Leaderboard list app, that allows users to add score to the list and refresh the list.

This project is about Leaderboard list app, that allows users to add score to the list and refresh the list.

Leaderboard This project is about Leaderboard list app, that allows users to add score to the list and refresh the list. Built With JavaScript HTML CS

Dec 19, 2021
Owner
peyman farahmand
senior full-stack developer
peyman farahmand
How to create 1,000 videos in 60 seconds

How I built 1,000 personalised videos in 60 seconds In this article, we will show you how to build 1,000 personalized birthday videos for 1,000 differ

Shotstack 19 Dec 9, 2022
Its an app that uses a weather API with access to over 200,000 cities current weather conditons.

Weather App Its an app that uses a weather API with access to over 200,000 cities current weather conditons. Screenshots Links Live Site URL: live sit

Yusuf Lawal 5 Aug 17, 2022
Weather app made using openweather api that supports over 200,000 cities

About This is an open-source weather app built using React.js, and you are welcome to add your unique touch to this project by contributing to the rep

Nikhil Mishra 6 Oct 17, 2022
🤝 A set of Persian Helpers for NodeJS to make your life easier

Persian Helpers Persian Helpers is a minimal NodeJS package with a set of helpers/tools specifically for the Persian/Farsi language. If you like the p

Kasra Ghoreyshi 11 Dec 22, 2022
Bootstrap Persian/Gregorian Date Time Picker

MD.BootstrapPersianDateTimePicker Bootstrap 5+ Persian And Gregorian Date Time Picker Major changes: Using Bootstrap 5 jQuery Removed Rewrite all code

Mohammad Dayyan 305 Nov 23, 2022
A simple offline captcha in persian.

Nastaliq Captcha A simple offline captcha in persian. How to install npm install --save nastaliq-captcha How to use : const express = require("express

Alireza Keshvari 6 Nov 7, 2022
A word list of the most common safe English words.

@cnakazawa/safe-word-list This package contains a list of about 2900 of the most used safe words in English with at least three characters or more. in

Christoph Nakazawa 9 Oct 8, 2022
A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snippets.

Warm Up ?? ??‍?? A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snipp

Arhun Saday 34 Dec 12, 2022
I made countdown birthday and fireworks animation using HTML Canvas, CSS, JS. The fireworks animation gonna come out once the countdown is finished or in other words, "Birthday Time".

Countdown-Birthday-Fireworks-Animation I made countdown birthday and fireworks animation using HTML Canvas, CSS, JS. The fireworks animation gonna com

Mahardika Bayu S.B 19 Dec 31, 2022
A2er - Fun browser extension, changing all words ending with `a` to end with `er`.

a2er Fun browser extension, changing all words ending with a to end with er. This started as a joke between friends and me, pronouncing words ending w

Sebastian Schicho 1 Jan 10, 2022