Skip to content
#

spacy

Here are 490 public repositories matching this topic...

ines
ines commented Sep 29, 2019

I was going though the existing enhancement issues again and though it'd be nice to collect ideas for spaCy plugins and related projects. There are always people in the community who are looking for new things to build, so here's some inspiration For existing plugins and projects, check out the spaCy universe.

If you have questions about the projects I suggested,

rasa
ortsaCniveK
ortsaCniveK commented Apr 15, 2020

Description of Problem:
Had to add a Facebook messenger channel integration into a bot I spun up and found the Facebook Messenger docs lacking a bit especially on the special response template keys quick_replies and elements; I had to read through the Facebook channel source to figure out what was allowed/disallowed.

Overview of the Solution:
FB Messenger docs updated with additio

kjaquier
kjaquier commented Jul 17, 2019

Code:

nlp = spacy.load('en_core_web_sm')
coref = neuralcoref.NeuralCoref(nlp.vocab)
nlp.add_pipe(coref, name='neuralcoref')

doc = nlp("She loves him.")
print(len(doc._.coref_clusters), 'clusters')

doc = nlp("My sister has a dog. She loves him.")
print(len(doc._.coref_clusters), 'clusters')

doc = doc[7].sent.as_doc()
print(len(doc._.coref_clusters), 'clusters')

Outpu

textacy
thepartisan101
thepartisan101 commented May 1, 2020

Duplicate from issue #192 (solved in 2018) but cannot apply solution on textacy 0.10
Hi, I'm using Textacy on Google Colab environment, running a default hosted runtim, installed through !pip3 install textacy
I've run into the same problem as the OP in #192 , I'm following the official document examples, version installed is the latest (textacy-0.10.0).

When trying dir(textacy) this the o

bug
fukidzon
fukidzon commented Feb 21, 2020

I wanted to use pytextrank together with spacy_udpipe to get keywords from texts in other languages (see https://stackoverflow.com/questions/59824405/spacy-udpipe-with-pytextrank-to-extract-keywords-from-non-english-text) but I realized, that udpipe-spacy somehow "overrides" the original spacy's pipeline so the noun_chunks are not generated (btw: the noun_chunks are created in lang/en/syntax_itera

ZhuoruLin
ZhuoruLin commented Apr 3, 2020

Hi,

I noticed that I cannot use nlp.update with Doc as inputs instead of raw strings. Please refer to the mini example below:

from spacy_transformers.language import TransformersLanguage
from spacy_transformers.pipeline.wordpiecer import TransformersWordPiecer
from spacy_transformers.pipeline.tok2vec import TransformersTok2Vec

nlp = TransformersLanguage(trf_name='test_bert', meta
scispacy
ChantalvanSon
ChantalvanSon commented Mar 10, 2020

First of all, thanks for creating scispacy, I think it's an amazing tool and very useful!!

I was running into an issue when saving the output of scispacy. I tried to pickle a Doc object, as explained on the website of spaCy, as follows:

import spacy
import pickle

nlp = spacy.load("en_core_sci_sm")

# add the Abbreviation Detector
abbrev
SergeyShk
SergeyShk commented Mar 23, 2020

spaCy version: 2.1.9
spaCy-stanza version: 0.2.1

import stanza
from spacy_stanza import StanzaLanguage

stanza.download('ru')
snlp = stanza.Pipeline(lang="ru")
nlp = StanzaLanguage(snlp)
text = "Мама мыла раму"

Using stanza, i get this:

for sentence in snlp(text).senteces:
	for word in sentence.words:
		print(word.feats)

# Animacy=Anim|Case=Nom|Gender=
infosisio
infosisio commented May 18, 2019

When asking: "Who was the first president of the United States?"

The answer is:

Normally vice presidents hold some power and special responsibilities below that of the president. The amendment also specifies that if any eligible person serves as president or acting president for more than two years of a term for which some other eligible person was elected president, the former can only be e

gurunath-p
gurunath-p commented Sep 17, 2017

I have been trying to use a custom NER model for spacy-services with the name 'endec'.When I try to use it directly by loading it in displacy/app.py, I get the following error:

`Traceback (most recent call last):
File "app.py", line 4, in
get_model('endec')
File "/home/prgs/spacy-services/displacy/displacy_service/server.py", line 36, in get_model
_models[model_name] =

Improve this page

Add a description, image, and links to the spacy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the spacy topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.