All Projects â†’ techcentaur â†’ PyLex

techcentaur / PyLex

Licence: MIT License
Perform lexical analysis on words, one word at a time.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to PyLex

naos
📉 Uptime and error monitoring CLI
Stars: ✭ 30 (-50%)
Mutual labels:  scraping
pomp
Screen scraping and web crawling framework
Stars: ✭ 61 (+1.67%)
Mutual labels:  scraping
meo
subset c compiler
Stars: ✭ 35 (-41.67%)
Mutual labels:  lexical-analysis
image-collector
Download images from Google Image Search
Stars: ✭ 38 (-36.67%)
Mutual labels:  scraping
scrapy facebooker
Collection of scrapy spiders which can scrape posts, images, and so on from public Facebook Pages.
Stars: ✭ 22 (-63.33%)
Mutual labels:  scraping
scrapy-zyte-smartproxy
Zyte Smart Proxy Manager (formerly Crawlera) middleware for Scrapy
Stars: ✭ 317 (+428.33%)
Mutual labels:  scraping
kuwala
Kuwala is the no-code data platform for BI analysts and engineers enabling you to build powerful analytics workflows. We are set out to bring state-of-the-art data engineering tools you love, such as Airbyte, dbt, or Great Expectations together in one intuitive interface built with React Flow. In addition we provide third-party data into data sc…
Stars: ✭ 474 (+690%)
Mutual labels:  scraping
Zeiver
A Scraper, Downloader, & Recorder for static open directories.
Stars: ✭ 14 (-76.67%)
Mutual labels:  scraping
YaccConstructor
Platform for parser generators and other grammarware research and development. GLL, RNGLR, graph parsing algorithms, and many others are included.
Stars: ✭ 36 (-40%)
Mutual labels:  lexical-analysis
alexa
A Lexical Analyzer Generator
Stars: ✭ 54 (-10%)
Mutual labels:  lexical-analysis
chirps
Twitter bot powering @arichduvet
Stars: ✭ 35 (-41.67%)
Mutual labels:  scraping
dmi-instascraper
A GUI for Instaloader to scrape users and hashtags with on Instagram
Stars: ✭ 21 (-65%)
Mutual labels:  scraping
humanparser
Parse a human name string into salutation, first name, middle name, last name, suffix.
Stars: ✭ 78 (+30%)
Mutual labels:  scraping
Scraper-Projects
🕸 List of mini projects that involve web scraping 🕸
Stars: ✭ 25 (-58.33%)
Mutual labels:  scraping
papercut
Papercut is a scraping/crawling library for Node.js built on top of JSDOM. It provides basic selector features together with features like Page Caching and Geosearch.
Stars: ✭ 15 (-75%)
Mutual labels:  scraping
web-clipper
Easily download the main content of a web page in html, markdown, and/or epub format from command line.
Stars: ✭ 15 (-75%)
Mutual labels:  scraping
dust
Archive web pages with all relevant assets or save as a single file HTML
Stars: ✭ 19 (-68.33%)
Mutual labels:  scraping
Babler
Data Collection System For NLP/Speech Recognition
Stars: ✭ 21 (-65%)
Mutual labels:  scraping
TorScrapper
A Scraper made 100% in Python using BeautifulSoup and Tor. It can be used to scrape both normal and onion links. Happy Scraping :)
Stars: ✭ 24 (-60%)
Mutual labels:  scraping
whatsapp-tracking
Scraping the status of WhatsApp contacts
Stars: ✭ 49 (-18.33%)
Mutual labels:  scraping

PyLex

Python3 library for performing lexical analysis on words, one word at a time.

Usage

Help Usage

gavy42@jarvis:~/PyLex$ python3 script.py -h
usage: script.py [-h] [-r] [-s] [-a] [-m] [-hg] [-sa] [-n NUMBER] [-f]
                 word

PyLex: Perform lexical analysis, one word at a time.

positional arguments:
  word                  an input of the word

optional arguments:
  -h, --help            show this help message and exit
  -r, --rhyme           get rhyming words
  -s, --synonym         get synonym
  -a, --antonym         get antonyms
  -m, --meaning         get meaning
  -hg, --homographs     get homographs
  -sa, --sound_alike    get words that sound alike
  -n NUMBER, --number NUMBER
                        number of words should be returned
  -f, --full            FULL lexical analysis

Interpreter Usage

>>> from script import Lex
>>> lex = Lex("alone")
>>> lex
<script.Lex object at 0x7f8c075c5d68>
>>> wordlist = lex.rhyming_words()
[*] Getting rhyming words for the word: alone...
>>> lex.display_wordlist(wordlist, 4)
[*] Displaying list; Format: Descending
cologne
malone
overblown
blown

Functions Usage

After creating an object instance as Lex(<string>), these functions are available

  • rhyming_words() : Returns a list of words rhyming with the entered word.
  • synonyms() : Returns a list of synonyms
  • antonyms() : Returns a list of antonyms
  • meaning() : Returns a list of possible meanings
  • homophones() : Returns a list of homophones
  • homographs() : Returns a list of homographs
  • sound_alike() : Returns a list of words that sound alike the given word

PyLex Full Analysis

  • Run python3 script.py <word> -f to get full lexical analysis of any word.
  • Returns a JSON format file with contained information.
gavy42@jarvis:~/PyLex$ python3 script.py alone -f
[!][!] Starting full analysis of: alone

[*][*] JSON file saved in local directory named - alone_lex_analysis.json

Note

  • Program makes calls to external website to gather the information and scrapes content wherever needed.

Support

If you have any trouble understading some part of the code, feel free to raise an issue or for contributing, feel free to make a pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].