Skip to main content

Biaffine dependency parser for spaCy

Project description

spacy-biaffine-parser: Biaffine parser for spaCy

tests pypi Version

This package provides a biaffine dependency parser, similar to that proposed in [Deep Biaffine Attention for Neural Dependency Parsing](Deep Biaffine Attention for Neural Dependency Parsing) (Dozat & Manning, 2016).

Installation

Install with pip:

python -m pip install -U pip setuptools wheel
python -m pip install spacy-biaffine-parser

Usage

The parser consists of two pipes: an edge predicter and an edge labeler. For example:

[components.arc_predicter]
factory = "arc_predicter"

[components.arc_labeler]
factory = "arc_labeler"

The arc predicter requires that a previous component (such as senter) sets sentence boundaries during training. Therefore, such a component must be added to annotating_components:

[training]
annotating_components = ["senter"]

The biaffine parser sample project provides an example biaffine parser pipeline.

Bug reports and issues

Please report bugs in the spaCy issue tracker or open a new thread on the discussion board for other issues.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spacy_biaffine_parser-0.1.0.tar.gz (28.1 kB view details)

Uploaded Source

Built Distributions

spacy_biaffine_parser-0.1.0-cp312-cp312-win_amd64.whl (335.2 kB view details)

Uploaded CPython 3.12 Windows x86-64

spacy_biaffine_parser-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (421.2 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

spacy_biaffine_parser-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (389.9 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ ARM64

spacy_biaffine_parser-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (417.3 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

spacy_biaffine_parser-0.1.0-cp312-cp312-macosx_10_9_x86_64.whl (435.8 kB view details)

Uploaded CPython 3.12 macOS 10.9+ x86-64

spacy_biaffine_parser-0.1.0-cp311-cp311-win_amd64.whl (339.4 kB view details)

Uploaded CPython 3.11 Windows x86-64

spacy_biaffine_parser-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (407.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

spacy_biaffine_parser-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (382.1 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ ARM64

spacy_biaffine_parser-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (426.2 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

spacy_biaffine_parser-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl (443.7 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

spacy_biaffine_parser-0.1.0-cp310-cp310-win_amd64.whl (342.5 kB view details)

Uploaded CPython 3.10 Windows x86-64

spacy_biaffine_parser-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (410.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

spacy_biaffine_parser-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (383.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ ARM64

spacy_biaffine_parser-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (433.2 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

spacy_biaffine_parser-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl (452.2 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

spacy_biaffine_parser-0.1.0-cp39-cp39-win_amd64.whl (351.1 kB view details)

Uploaded CPython 3.9 Windows x86-64

spacy_biaffine_parser-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (417.6 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

spacy_biaffine_parser-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (390.7 kB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ ARM64

spacy_biaffine_parser-0.1.0-cp39-cp39-macosx_11_0_arm64.whl (439.5 kB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

spacy_biaffine_parser-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl (460.6 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

Details for the file spacy_biaffine_parser-0.1.0.tar.gz.

File metadata

  • Download URL: spacy_biaffine_parser-0.1.0.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for spacy_biaffine_parser-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d60d07b221ea03a768d6f7ba17ec4ced64cf17efc8efb0aa728189c5e6a03267
MD5 5a568b67d49383854e8f09583d6a3815
BLAKE2b-256 9c8bdd32a438dac8277476311851da33984b14a78c6a949191279221ccbe4a6a

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4127b42dad5f75c834871cbbdec30f34574c82be00ac81fb23c702230b0309a5
MD5 6101f70d2ca64293bc26190aa6fa2c36
BLAKE2b-256 627c1bbc8bc7f154b7a31c85f346538fcd4e8289dc12305e93815a5e867bf01f

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d17f6b8f928170bdba9d5ceb39af10a90a3bf142c42817cf7c170c60689b6297
MD5 458c465cd74d3b3a03efd96ccd73930c
BLAKE2b-256 6c88e2cd02a0cf66964d9708fd7e342a3c3dc8e2792b97a6f13f73d2d3c0609a

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a75e59a086db9c5ca0febfe6dc9c14cdfa8d1fd6126169798c6dad1007d044ef
MD5 4d3c1a0195f4934cf9c09abd6a8e07ce
BLAKE2b-256 580918e2ebfedf21e73cd266925f379296563371149ecb72487b0501654a9362

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9228d528e254492bd9759b5bf3196a13bcb40616f6990b9b37b56d1eb4340c74
MD5 994b32f3d3d069fa4fcb4f7afb074025
BLAKE2b-256 d56f26a8f3e4f338fc337f8a728f649b9ec0c01a965561a90748f4db47b0faf0

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7fdea42db3221c5293ad390ed56fd120b014b1f520089b7981986efe22617bbb
MD5 2c1195102a0523f215aa67002990248d
BLAKE2b-256 49790b2a7ba7c8aaa0399b6772ddbbf469409dc817fefeb6db97f0b27e398f09

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ad96f07d37f0fcff9d1a95494ff2793c00014d0a1bb1f1cf7a3ff60a3806b959
MD5 a659452601fca612deb326f5c27abe3a
BLAKE2b-256 5eef0dcf3fad1f62e4a0b546fb41722afd053009990f828b6d765a89c7e48b0f

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7de3002402d42ac494aed33351eb02b405648d8bd009f94114e96b803012248f
MD5 ff5f9a8181f7516294b7cd5cc6aab98f
BLAKE2b-256 fc9fe2fb5ed3810c1f64c7cde1c27c13dac63451280291739342276fd1861f08

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f0f2efec8f4d3115c5af612eccc11fa9e9542396f1ff69215f406479e473cb06
MD5 af33b5d1e4c8d9616c6af8e659d6c080
BLAKE2b-256 996309e8b820472e1b9448e7f72fa8dfa16cc852beae4c178983baf03a0bce30

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9507f0221e26937d53a4885558f91d5a9b14edd60b007c85845c081c3690bbc9
MD5 872952bf1ab295b968aa4cbd1fc05155
BLAKE2b-256 665e274144c6fd7c7942a5bd8118b665f5de1e7598f7f01f220e4b11063b6e8b

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 f481313a5e4dacb232c1974e6161f1746b5a02bb6f75ebf8bce609b4e91d71bc
MD5 758b4909df63d1d8392ea3c4f99f5922
BLAKE2b-256 e4a4f43552e6b0739835e08832567a2a9dc5063078885242c873deee78e79929

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b0327e2f71132fa6a4e3340eebbd7670de09409ec09002eb739bf08502d1869c
MD5 b5016c05c24fb8394b935e9face97f8d
BLAKE2b-256 c73f0d3393bdc9e86962d57fd933c4ab55cd83a9e2486964a65a70748564699e

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7f792b3cbe964f215da05de7b0ba4d6fdd5b72a7642cc6bb1e9333b436da599d
MD5 8d064fb4ad6379183e2421e77b322dce
BLAKE2b-256 eed0c40e5097e08b37f1c59adfc99200096d01fa554a9a8c684721d6018be516

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3a7a4453db1fa31a59d94bf07af611fd204b164ddd21faf805d75ec236cd86d3
MD5 2f43643128fa64077dd64fabd7a7bd93
BLAKE2b-256 7b1b7a5c6c018bfe8a3d5f8df2b68354bf4a7d1fc67edfd3f57902ead7d1b35c

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a174dfe50209e506c0a835284518f850aaddcde9a9c6a40525340af5d7147b24
MD5 b34def35c2bed4a8f901c716e81e472f
BLAKE2b-256 c0badf07b18914059dcf2680782d4b732fb4e7ade9da51ead780538670709ca0

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7d668ce988ef76ce26ae5508e7d8a17b18d10cf535b9a011ba85b306fdf57d96
MD5 6d94136d0a2f1ac4539bdf8347e30fde
BLAKE2b-256 06b84974f1c6c178bb133c6d9ea3742984429b892321b408ccdfd2f7a81ce47a

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 1a17b47b7ffd36d302ad14fde5764348cb98cd66b165ec6d14071bcacec0b467
MD5 dac76932c855279c474f90754cfc86a3
BLAKE2b-256 35e2832a945fd8a7b863505aed82c2a9d589d26ba72ec19c19b3ed17d2c8daa5

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5c920a91626dad948df2827238fc407de936d3e8d1691c91b68e478263485005
MD5 a11333ee958a98e09b5c49208ce3fddb
BLAKE2b-256 b115ce7bba81f523908a8415c4f34e9e2e72c4a19f19b5601624d6cdd0ad9f7b

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 b37cba91af57741ef05a4fe7c66a1eac8ac5babad0283f54367a3a82570afe1d
MD5 03d1fe6ceb38b693edf14767fa8d2947
BLAKE2b-256 2ae02d38463c359fffbe4f34013cc65f53eafdff6fd84ce786db7f732deb5c74

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c6ad3ac0c2ae0f7fe60e58d4965cbb33a91f57d658b96e1a265afe323fc27995
MD5 b3d603e101b2e719a11105858b74538e
BLAKE2b-256 d5766e1d288517455f52f00b33dceb34276815fd602b9ae02353da96406bd488

See more details on using hashes here.

File details

Details for the file spacy_biaffine_parser-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for spacy_biaffine_parser-0.1.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 85854592590e738f79d13a06b1f35db91d862a71311f692e648b5b555be20764
MD5 db54d1848844d5470cc5999b06fbdd12
BLAKE2b-256 367e24c8eb221afc7dc0131ab7e8b4a8d72a59b2805fb2e69d165ac07393082c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page