mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-07 15:56:32 +03:00
c003aac29a
* span finder integrated into spacy from experimental * black * isort * black * default spankey constant * black * Update spacy/pipeline/spancat.py Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> * rename * rename * max_length and min_length as Optional[int] and strict checking * black * mypy fix for integer type infinity * revert line order * implement all comparison operators for inf int * avoid two for loops over all docs by not precomputing * interleave thresholding with span creation * black * revert to not interleaving (relized its faster) * black * Update spacy/errors.py Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> * update dosctring * enforce that the gold and predicted documents have the same text * new error for ensuring reference and predicted texts are the same * remove todo * adjust test * black * handle misaligned tokenization * return correct variable * failing overfit test * only use a single spans_key like in spancat * black * remove debug lines * typo * remove comment * remove near duplicate reduntant method * use the 'spans_key' variable name everywhere * Update spacy/pipeline/span_finder.py Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> * flaky test fix suggestion, hand set bias terms * only test suggester and test result exhaustively * make it clear that the span_finder_suggester is more general (not specific to span_finder) * Update spacy/tests/pipeline/test_span_finder.py Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> * Apply suggestions from code review * remove question comment * move preset_spans_suggester test to spancat tests * Add docs and unify default configs for spancat and span finder * Add `allow_overlap=True` to span finder scorer * Fix offset bug in set_annotations * Ignore labels in span finder scorer * Format * Add span_finder to quickstart template * Move settings to self.cfg, store min/max unset as None * Remove debugging * Update docstrings and docs * Update spacy/pipeline/span_finder.py Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com> * Fix imports --------- Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com> Co-authored-by: Sofie Van Landeghem <svlandeg@users.noreply.github.com>
160 lines
7.3 KiB
JSON
160 lines
7.3 KiB
JSON
[
|
|
{
|
|
"section": "usage",
|
|
"items": [
|
|
{
|
|
"label": "Get started",
|
|
"items": [
|
|
{ "text": "Installation", "url": "/usage" },
|
|
{ "text": "Models & Languages", "url": "/usage/models" },
|
|
{ "text": "Facts & Figures", "url": "/usage/facts-figures" },
|
|
{ "text": "spaCy 101", "url": "/usage/spacy-101" },
|
|
{ "text": "New in v3.0", "url": "/usage/v3" },
|
|
{ "text": "New in v3.1", "url": "/usage/v3-1" },
|
|
{ "text": "New in v3.2", "url": "/usage/v3-2" },
|
|
{ "text": "New in v3.3", "url": "/usage/v3-3" },
|
|
{ "text": "New in v3.4", "url": "/usage/v3-4" },
|
|
{ "text": "New in v3.5", "url": "/usage/v3-5" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Guides",
|
|
"items": [
|
|
{ "text": "Linguistic Features", "url": "/usage/linguistic-features" },
|
|
{ "text": "Rule-based Matching", "url": "/usage/rule-based-matching" },
|
|
{ "text": "Processing Pipelines", "url": "/usage/processing-pipelines" },
|
|
{
|
|
"text": "Embeddings & Transformers",
|
|
"url": "/usage/embeddings-transformers",
|
|
"tag": "new"
|
|
},
|
|
{ "text": "Training Models", "url": "/usage/training", "tag": "new" },
|
|
{
|
|
"text": "Layers & Model Architectures",
|
|
"url": "/usage/layers-architectures",
|
|
"tag": "new"
|
|
},
|
|
{ "text": "spaCy Projects", "url": "/usage/projects", "tag": "new" },
|
|
{ "text": "Saving & Loading", "url": "/usage/saving-loading" },
|
|
{ "text": "Visualizers", "url": "/usage/visualizers" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Resources",
|
|
"items": [
|
|
{ "text": "Project Templates", "url": "https://github.com/explosion/projects" },
|
|
{ "text": "v2.x Documentation", "url": "https://v2.spacy.io" },
|
|
{
|
|
"text": "Custom Solutions",
|
|
"url": "https://explosion.ai/custom-solutions"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"section": "models",
|
|
"items": [
|
|
{
|
|
"label": "Models",
|
|
"items": [{ "text": "Overview", "url": "/models" }]
|
|
},
|
|
{
|
|
"label": "Trained Pipelines",
|
|
"items": []
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"section": "api",
|
|
"items": [
|
|
{
|
|
"label": "Overview",
|
|
"items": [
|
|
{ "text": "Library Architecture", "url": "/api" },
|
|
{ "text": "Model Architectures", "url": "/api/architectures" },
|
|
{ "text": "Data Formats", "url": "/api/data-formats" },
|
|
{ "text": "Command Line", "url": "/api/cli" },
|
|
{ "text": "Functions", "url": "/api/top-level" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Containers",
|
|
"items": [
|
|
{ "text": "Doc", "url": "/api/doc" },
|
|
{ "text": "DocBin", "url": "/api/docbin" },
|
|
{ "text": "Example", "url": "/api/example" },
|
|
{ "text": "Language", "url": "/api/language" },
|
|
{ "text": "Lexeme", "url": "/api/lexeme" },
|
|
{ "text": "Span", "url": "/api/span" },
|
|
{ "text": "SpanGroup", "url": "/api/spangroup" },
|
|
{ "text": "Token", "url": "/api/token" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Pipeline",
|
|
"items": [
|
|
{ "text": "AttributeRuler", "url": "/api/attributeruler" },
|
|
{ "text": "CoreferenceResolver", "url": "/api/coref" },
|
|
{ "text": "DependencyParser", "url": "/api/dependencyparser" },
|
|
{ "text": "EditTreeLemmatizer", "url": "/api/edittreelemmatizer" },
|
|
{ "text": "EntityLinker", "url": "/api/entitylinker" },
|
|
{ "text": "EntityRecognizer", "url": "/api/entityrecognizer" },
|
|
{ "text": "EntityRuler", "url": "/api/entityruler" },
|
|
{ "text": "Lemmatizer", "url": "/api/lemmatizer" },
|
|
{ "text": "Morphologizer", "url": "/api/morphologizer" },
|
|
{ "text": "SentenceRecognizer", "url": "/api/sentencerecognizer" },
|
|
{ "text": "Sentencizer", "url": "/api/sentencizer" },
|
|
{ "text": "SpanCategorizer", "url": "/api/spancategorizer" },
|
|
{ "text": "SpanFinder", "url": "/api/spanfinder" },
|
|
{ "text": "SpanResolver", "url": "/api/span-resolver" },
|
|
{ "text": "SpanRuler", "url": "/api/spanruler" },
|
|
{ "text": "Tagger", "url": "/api/tagger" },
|
|
{ "text": "TextCategorizer", "url": "/api/textcategorizer" },
|
|
{ "text": "Tok2Vec", "url": "/api/tok2vec" },
|
|
{ "text": "Tokenizer", "url": "/api/tokenizer" },
|
|
{ "text": "TrainablePipe", "url": "/api/pipe" },
|
|
{ "text": "Transformer", "url": "/api/transformer" },
|
|
{ "text": "Other Functions", "url": "/api/pipeline-functions" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Matchers",
|
|
"items": [
|
|
{ "text": "DependencyMatcher", "url": "/api/dependencymatcher" },
|
|
{ "text": "Matcher", "url": "/api/matcher" },
|
|
{ "text": "PhraseMatcher", "url": "/api/phrasematcher" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Other",
|
|
"items": [
|
|
{ "text": "Attributes", "url": "/api/attributes" },
|
|
{ "text": "Corpus", "url": "/api/corpus" },
|
|
{ "text": "InMemoryLookupKB", "url": "/api/inmemorylookupkb" },
|
|
{ "text": "KnowledgeBase", "url": "/api/kb" },
|
|
{ "text": "Lookups", "url": "/api/lookups" },
|
|
{ "text": "MorphAnalysis", "url": "/api/morphology#morphanalysis" },
|
|
{ "text": "Morphology", "url": "/api/morphology" },
|
|
{ "text": "Scorer", "url": "/api/scorer" },
|
|
{ "text": "StringStore", "url": "/api/stringstore" },
|
|
{ "text": "Vectors", "url": "/api/vectors" },
|
|
{ "text": "Vocab", "url": "/api/vocab" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Cython",
|
|
"items": [
|
|
{ "text": "Architecture", "url": "/api/cython" },
|
|
{ "text": "Classes", "url": "/api/cython-classes" },
|
|
{ "text": "Structs", "url": "/api/cython-structs" }
|
|
]
|
|
},
|
|
{
|
|
"label": "Legacy",
|
|
"items": [{ "text": "Legacy functions", "url": "/api/legacy" }]
|
|
}
|
|
]
|
|
}
|
|
]
|