Issue when creating a pipeline component.

Hi @ines,
I was trying to create a pipeline component as part of one of your suggestions and seem to be getting an error when creating the pipe. I initially thought it was my code, but executing the basic code in the API documentation examples hits the same error.

[Abhishek:~/Projects/Python-Projects/Projects/NM-NLP] [NM-NLP] 4s $ python
Python 3.6.4 (default, Mar  1 2018, 18:36:50)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.39.2)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import spacy
>>> from spacy.pipeline import Pipe
>>> nlp = spacy.load("en_core_web_sm")
>>> pipe = Pipe(nlp.vocab)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pipeline.pyx", line 117, in spacy.pipeline.Pipe.__init__

These are just basic Spacy commands, so I am not quite sure if I am doing something wrong? Thanks in advance.

You're trying to instantiate the abstract base class used for the built-in components. For details on how to build and use custom pipeline components, see the docs:

Thank you for the clarification. I did figure that out when I looked at the code for the error that was occurring. But then, the documentation is a little confusing. If you look at the API page, on the right side, there are examples listed, which seem as if they are commands that can be executed directly. You might want to clarify that. Just a thought. Since someone might be looking at the API more frequently than going through the pipeline construction write-up.