Skip to content

Commit

Permalink
release 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bram Vanroy authored and Bram Vanroy committed Apr 4, 2022
1 parent 6161369 commit e8ff86d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# History

## 3.2.0 (April 4th, 2022)

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


## 3.1.0 (October 31st, 2021)

- **[conllparser]** The CoNLLParser can now parse a given CoNLL string or text file into a spaCy Doc.
Expand Down
2 changes: 1 addition & 1 deletion spacy_conll/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.1.0"
__version__ = "3.2.0"

from .formatter import ConllFormatter
from .parser import ConllParser
Expand Down

0 comments on commit e8ff86d

Please sign in to comment.