spaCy/website/docs
Adriane Boyd b60b027927
Add default option to MorphAnalysis.get (#12545)
* Add default to MorphAnalysis.get

Similar to `dict`, allow a `default` option for `MorphAnalysis.get` for
the user to provide a default return value if the field is not found.
The default return value remains `[]`, which is not the same as
`dict.get`, but is already established as this method's default return
value with the return type `List[str]`. However the new `default` option
does not enforce that the user-provided default is actually `List[str]`.

* Restore test case
2023-04-20 14:06:32 +02:00
..
api Add default option to MorphAnalysis.get (#12545) 2023-04-20 14:06:32 +02:00
models Backslash fixes in docs (#12213) 2023-02-01 10:15:38 +01:00
usage docs(REL_OP): modify docs for REL_OPs to match Semgrex's update on CoreNLP v4.5.2 (#12531) 2023-04-17 13:14:01 +02:00
styleguide.mdx Website migration from Gatsby to Next (#12058) 2023-01-11 17:30:07 +01:00