mirror of https://github.com/explosion/spaCy.git
typo
This commit is contained in:
parent
e861e928df
commit
218abaa69a
|
@ -728,7 +728,7 @@ are within a **maximum distance** (in number of tokens) of eachother:
|
||||||
> ```
|
> ```
|
||||||
|
|
||||||
```python
|
```python
|
||||||
### Candiate generation
|
### Candidate generation
|
||||||
@spacy.registry.misc.register("rel_instance_generator.v1")
|
@spacy.registry.misc.register("rel_instance_generator.v1")
|
||||||
def create_instances(max_length: int) -> Callable[[Doc], List[Tuple[Span, Span]]]:
|
def create_instances(max_length: int) -> Callable[[Doc], List[Tuple[Span, Span]]]:
|
||||||
def get_candidates(doc: "Doc") -> List[Tuple[Span, Span]]:
|
def get_candidates(doc: "Doc") -> List[Tuple[Span, Span]]:
|
||||||
|
|
Loading…
Reference in New Issue