GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bfeif/pt-verb-explorer: Python code that scrapes and builds a table of verb conjugations and verb irregularities for the Portuguese language.

BranchesTags
Open more actions menu

Latest commit

 

History

40 Commits
40 Commits

Folders and files

NameName
Last commit message
Last commit date
analysis
analysis
 
 
data/verb-list
data/verb-list
 
 
verb_table_builder
verb_table_builder
 
 
web_scraper
web_scraper
 
 
.gitignore
.gitignore
 
 
Demo, L-shaped Morphome.ipynb
Demo, L-shaped Morphome.ipynb
 
 
README.md
README.md
 
 
environment.yml
environment.yml
 
 
requirements.txt
requirements.txt
 
 
run.py
run.py
 
 

Repository files navigation

pt-verb-explorer

Python code that scrapes and builds a table of verb conjugations and boolean verb irregularities for the Portuguese language. An example of the exploration and analyses that can be done using this code can be found in the demo ipython notebook about the L-shaped morphome.

Overview

I have pre-built verb tables for both conjugations and boolean-irregularities, for the 50 highest frequency verbs in Portuguese. You can download them here as a two sheet spreadhsheet on google drive or as two csvs of conjugations and of irregularities. If you'd like to run the python code to generate the tables on your own system, proceed to Getting Started.

Getting Started

These instructions will get you the project up and running on your local machine. At the moment, this project only supports Linux and Mac machines.

Prerequisites

This project is created with Python, and uses Miniconda as a package manager. As part of the Miniconda install, Python is installed. As such, the only prerequisite is Miniconda.

  • Miniconda Installation

Getting Set Up

Once the Miniconda installation is complete and this repository is cloned to your local machine, open up a terminal process, navigate to the cloned pt-verb-explorer directory and run the following commands:

  1. conda env create -f environment.yml
  2. conda activate pt-verb-explorer
  3. conda env config vars set VERB_TABLE_BUILDER_HOME=`pwd`
  4. conda activate pt-verb-explorer (yes, this has to be run twice :o)

Creating the Verb Tables

In the pt-verb-explorer directory and with the conda environment pt-verb-explorer activated, execute the following command:

  1. python run.py

The resulting verb tables will be stored as csvs in pt-verb-explorer/data/verb-tables/. If you'd like to build the verb tables using more verbs than the default top 50 verbs, then more verbs can be added to the list at pt-verb-explorer/data/verb-list/50_top_verbs.json.

Using the Verb Tables

Check out the ipython notebook demo about the L-shaped morphome in order to get comfortable with using the verb tables.

Acknowledgments

  • This code scrapes data from the Portuguese verb conjugation website Conjugação do Verbos.

About

Python code that scrapes and builds a table of verb conjugations and verb irregularities for the Portuguese language.

Resources

Readme
Activity

Stars

4 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.