pattern icon indicating copy to clipboard operation
pattern copied to clipboard

Web mining module for Python, with tools for scraping, natural language processing, machine learning, network analysis and visualization.

Results 109 pattern issues
Sort by recently updated
recently updated
newest added

Some words which end with **-us** that have plural forms with **-i** are giving incorrect results. ``` >>> word_list = ['focus','cactus','fungus','nucleus','syllabus'] >>> for w in word_list: ... print(pluralize(w)) ... foci...

The built-in `singularize` function yields lots of false positives: Here're some examples: 1) business 2) virginia 3) tour 4) loss It ends up I need to define a self-maintained exception...

In [2]: pattern.en.pluralize("quiz") Out[2]: 'quizs' Should be quizzes - as the singularize method *does* know In [3]: pattern.en.singularize("quizzes") Out[3]: 'quiz'

installing mysqlclient for macos via homebrew

Uploaded another example using the pattern.web module. An Indian language named Malayalam was added here and according to the search results obtained by entering a Malayalam keyword, a classification was...

I am new in python. What is the error of this while installing? Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in...

Fix for #141 , #175 , #176 And fixed typo in metrics.py

Conjugating a verb "found" is not working properly. The result is the same as conjugating a verb "find". lexeme('found') also gives the same result as find. ['find', 'finds', 'finding', 'found']...

``` from pattern.search import search, taxonomy, Classifier from pattern.en import parsetree for flower in ("rose", "lily", "daisy", "daffodil", "begonia"): taxonomy.append(flower, type="flower") tree = parsetree("A field of white daffodils.", lemmata=True) result...

``` >>>lexeme('encumbered') >>>['encumber', 'encumbers', 'encumberring', 'encumberred'] ``` but the word `encumber`'s past tense should be `encumbered`. also the word `crossbreed`'s past tense should be `crossbreed`. found that all words endswith...