Skip to content

Commit e8ff86d

Browse files
Bram VanroyBram Vanroy
authored andcommitted
release 3.2.0
1 parent 6161369 commit e8ff86d

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

HISTORY.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# History
22

3+
## 3.2.0 (April 4th, 2022)
4+
5+
- **[conllformatter]** Fixed an issue where `SpaceAfter=No` was not added correctly to tokens
6+
- **[conllformatter]** Added `ConllFormatter` as an entry point, which means that you do not have to import
7+
`spacy_conll` anymore when you want to add the pipe to a parser! spaCy will know where to look for the CoNLL
8+
formatter when you use `nlp.add_pipe("conll_formatter")` without you having to import the component manually
9+
- **[conllformatter]** Now adds the component constructor on a construction function rather than directly on the class
10+
as recommended by spacy. The formatter has also been re-written as a dataclass
11+
- **[conllformatter/utils]** Moved `merge_dicts_strict` to utils, outside the formatter class
12+
- **[conllparser]** Make ConllParser directly importable from the root of the library, i.e.,
13+
`from spacy_conll import ConllParser`
14+
- **[init_parser]** Allow users to exclude pipeline components when using the spaCy parser with the
15+
`exclude_spacy_components` argument
16+
- **[init_parser]** Fixed an issue where disabling sentence segmentation would not work if your model does
17+
not have a parser
18+
- **[init_parser]** Enable more options when using stanza in terms of pre-segmented text. Now you can also disable
19+
sentence segmentation for stanza (but still do tokenization) with the `disable_sbd` option
20+
- **[utils]** Added SpacyDisableSentenceSegmentation as an entry-point custom component so that you can use it in your
21+
own code, by calling `nlp.add_pipe("disable_sbd", before="parser")`
22+
23+
324
## 3.1.0 (October 31st, 2021)
425

526
- **[conllparser]** The CoNLLParser can now parse a given CoNLL string or text file into a spaCy Doc.

spacy_conll/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "3.1.0"
1+
__version__ = "3.2.0"
22

33
from .formatter import ConllFormatter
44
from .parser import ConllParser

0 commit comments

Comments
 (0)