Skip to main content

Current PyPI packages

spaCy-jPTDP

jPTDP wrapper for spaCy

Basic Usage

>>> import spacy_jptdp
>>> nlp=spacy_jptdp.load("en_ewt")
>>> doc=nlp("We are finished.")
>>> for t in doc:
...   print("\t".join([str(t.i+1),t.orth_,"_",t.pos_,"_","_",str(0 if t.head==t else t.head.i+1),t.dep_,"_","_" if t.whitespace_ else "SpaceAfter=No"]))
...
1	We	_	PRON	_	_	3	nsubj	_	_
2	are	_	AUX	_	_	3	cop	_	_
3	finished	_	ADJ	_	_	0	ROOT	_	SpaceAfter=No
4	.	_	PUNCT	_	_	3	punct	_	SpaceAfter=No
>>> import deplacy
>>> deplacy.render(doc)
We       PRON  <══╗   nsubj
are      AUX   <╗ ║   cop
finished ADJ   ═╝═╝═╗ ROOT
.        PUNCT <════╝ punct

spacy_jptdp.load(treebank) loads spaCy Language pipeline for jPTDP. Available treebanks are HERE.

Installation

pip install 'setuptools<57' 'numpy<2'
pip install dynet --no-build-isolation
pip install spacy_jptdp

Release files for spacy-jptdp 0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for spacy-jptdp 0.7.3
File Interpreter ABI Platform
spacy_jptdp-0.7.3-py3-none-any.whl Python 3 none any Details

Release files / spacy_jptdp-0.7.3-py3-none-any.whl

Download URL spacy_jptdp-0.7.3-py3-none-any.whl
Size 26.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
510eacdb79cbd09ebad2f30c6221cd5dd0056e478f6023132dbfeda984845de6
BLAKE2b-256 checksum
How to use checksums
45e9119b12116ec51b52ce5ffc31dd9196ad80981eb98a99f15ebcd7912850b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.7.3 This release

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.0

1 release file

0.3.1

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page