Git Product home page Git Product logo

spacy-catala's Introduction

[CA] Model pel processament del llenguatge natural en Català per a spaCy

Model per a spaCy de la llengua catalana generat a partir de:

Els models es poden descarregar a la secció Publicacions (Releases).

Instal·lació i ús

Podeu escollir entre dos models. El model gran és més precís però com que spaCy carrega tot el model a memòria assegureu-vos de tenir-ne suficient.

Dada Mitjà Gran
Nom ca_fasttext_wiki_md ca_fasttext_wiki_lg
Versió 1.0.0 1.0.0
spaCy >=2.3.2,<2.4.0 >=2.3.2,<2.4.0
Mida 62 MB 1,16 GB
Pipeline tagger, parser, ner tagger, parser, ner
Vectors 20.000 2.000.000
Llicència AGPL-3.0 AGPL-3.0
Autor Ciaran O'Reilly Ciaran O'Reilly

Podeu instal·lar el model i fer-lo servir amb spaCy executant les següents ordres a l'interfície de línia d'ordres:

# Per instal·lar el model mitjà
> pip install https://github.com/ccoreilly/spacy-catala/releases/download/ca_fasttext_wiki_md-1.0.0/ca_fasttext_wiki_md-1.0.0-py3-none-any.whl
> python -m spacy link ca_fasttext_wiki_md ca

# Per instal·lar el model gran
> pip install https://github.com/ccoreilly/spacy-catala/releases/download/ca_fasttext_wiki_lg-1.0.0/ca_fasttext_wiki_lg-1.0.0-py3-none-any.whl
> python -m spacy link ca_fasttext_wiki_lg ca

[EN] spaCy NLP Model for the Catalan language

spaCy NLP model for the Catalan language generated from:

Models can be found in the releases section of the repository.

Installing and using the model

You can choose between two models. The larger one is more accurate but make sure to have enough memory as spaCy will load the whole model into it.

Dada Medium Large
Name ca_fasttext_wiki_md ca_fasttext_wiki_lg
Version 1.0.0 1.0.0
spaCy >=2.3.2,<2.4.0 >=2.3.2,<2.4.0
Size 62 MB 1,16 GB
Pipeline tagger, parser, ner tagger, parser, ner
Vectors 20.000 2.000.000
License AGPL-3.0 AGPL-3.0
Author Ciaran O'Reilly Ciaran O'Reilly
# To install the medium sized model
> pip install https://github.com/ccoreilly/spacy-catala/releases/download/ca_fasttext_wiki_md-1.0.0/ca_fasttext_wiki_md-1.0.0-py3-none-any.whl
> python -m spacy link ca_fasttext_wiki_md ca

# To install the larger model
> pip install https://github.com/ccoreilly/spacy-catala/releases/download/ca_fasttext_wiki_lg-1.0.0/ca_fasttext_wiki_lg-1.0.0-py3-none-any.whl
> python -m spacy link ca_fasttext_wiki_lg ca

spacy-catala's People

Contributors

ccoreilly avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spacy-catala's Issues

Es la llicència adequada?

Hola @ccoreilly, abans de res, felicitar-te per la teva tasca de desevolupar eines NLP per al català. Crec que es un esforç molt necessari per a la nostra llengua, pero permet-me fer-te una reflexió.

Veig que llicències el codi amb AGPL 3.0, la qual es bastant restrictiva per a una empresa, tant de desenvolupament de producte com la que implementi un projecte intern. Això contrasta amb la llicència de SPACY, que es la MIT.

Per tant els desenvolupadors que es guanyen la vida desenvolupant per tercers podran fer servir SPACY però no el teu model en català, doncs injecten una obligació - la de obligar a distribuir el codi font dels programes derivats - que els seus clients possiblement no voldran assumir.

A menys que tinguis una bona raó, crec que seria millor que el model català per Spacy compartís la mateixa llicència MIT que la llibreria.

També seria bò que des del lloc de Spacy fos sencill trobar aquest projecte, per exemple fent-lo visible aqui: https://spacy.io/universe/category/models

Linguistic features

Hi Ciaran!

I'm testing the catalan LM for spacy 2.1.0, and I only get to work the lemma from the linguistic features. Are the rest included, like POS, TAG, ENT_TYPE ?

image

Thank you!

Version compatibility

Hola Ciaran,

I encountered this error when I ran my code.

warning.png

err.png

Python 3.8.6

spaCy version 3.0.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.