Skip to content

Commit b3378ff

Browse files
Release v0.8.0
1 parent b9fb2cd commit b3378ff

File tree

4 files changed

+17
-50
lines changed

4 files changed

+17
-50
lines changed

CHANGELOG.md

Lines changed: 9 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
# Change Log
22

3+
**Note**: some releases may have changes that may break backward compatibility;
4+
these changes are prefixed with "**BREAKING**"
5+
36
## [Unreleased][unreleased]
47

5-
**Note**: there are some changes that may break backward compatibility; these
6-
changes are prefixed with "**BREAKING**"
8+
## [v0.8.0][]
9+
10+
This release improves EDS support, cleans up the code, makes the codecs
11+
consistent and makes predicate support harmonious with Delphin. This is the
12+
first release by the new maintainer, Angie McMillan-Major.
713

814
### Added
915

@@ -19,9 +25,6 @@ changes are prefixed with "**BREAKING**"
1925
disconnected graphs and nodes when `--to=eds`
2026
* The `convert` command can take a `--predicate-modifiers` option which
2127
attempts to rejoin disconnected EDS graphs that fit certain criteria
22-
* Documentation for implementing an ACE preprocessor (#91)
23-
* `ace` as a `--from` codec for the `convert` subcommand, which reads
24-
SimpleMRS strings from ACE output (#92)
2528

2629
### Changed
2730

@@ -31,51 +34,17 @@ changes are prefixed with "**BREAKING**"
3134
hierarchy when looking for candidate nodes
3235
* `delphin.mrs.xmrs.Xmrs.from_xmrs()` and `delphin.mrs.eds.Eds.from_xmrs()`
3336
now take a `**kwargs` argument to facilitate the `convert` command (#160)
34-
* The following `delphin.tdl` functions are now private:
35-
`delphin.tdl._parse_avm()`, `delphin.tdl._parse_affixes()`,
36-
`delphin.tdl._parse_typedef()`, `delphin.tdl._parse_attr_val()`,
37-
`delphin.tdl._parse_cons_list()`, `delphin.tdl._parse_conjunction()`,
38-
`delphin.tdl._parse_diff_list()` (#81)
39-
* **BREAKING** `delphin.interfaces.ace.AceProcess` whitelists certain
40-
command-line arguments for ACE; invalid arguments or values raise a
41-
ValueError. This could break code that uses options not whitelisted,
42-
but such code probably wouldn't work anyway. (#149)
4337

4438
### Fixed
4539

4640
* Converting to PENMAN via the `convert` command should no longer crash for
4741
disconnected graphs, but print a log message to stderr, print a blank line
4842
to stdout, and then continue (#161)
49-
* Updated the docstrings for `delphin.mrs.xmrs.Xmrs.args()`,
50-
`delphin.mrs.xmrs.Xmrs.outgoing_args()`, and
51-
`delphin.mrs.xmrs.Xmrs.incoming_args()`, from "DMRS-style undirected links"
52-
to "MOD/EQ links" and updated the return value of `Xmrs.args()` and
53-
`Xmrs.outgoing_args` from `{nodeid: {}}` to `{role: tgt}` (#133)
54-
* `delphin.mrs.compare.isomorphic()` compares predicates using a normalized form
55-
* Updated the code and the docstrings for references to 'string' and 'grammar'
56-
predicates to refer to 'surface' and 'abstract' predicates (#117)
57-
* `delphin.tdl.parse()` now accepts either a file or a filename argument (#104)
58-
* The following dump methods now allow either a file or filename as their
59-
arguments like `delphin.mrs.penman.dump()`: `delphin.mrs.eds.dump()`,
60-
`delphin.mrs.simplemrs.dump()`, `delphin.mrs.simpledmrs.dump()`,
61-
`delphin.mrs.mrx.dump()`, `delphin.mrs.dmrx.dump()`,
62-
`delphin.mrs.prolog.dump()` (#152)
63-
* Non-ascii XML output is now able to be processed in Python2 (#106)
64-
* `delphin.interfaces.ace` now validates parser, transfer, and generator inputs
65-
and refuses to process invalid inputs (#155)
66-
* `delphin.interfaces.ace` handles whitespace in s-expressions a bit better
67-
* `itsdb.get_data_specifier()` now allows unicode arguments in Python2 (#164)
6843

6944
### Deprecated
7045

7146
* `delphin.mrs.query.intrinsic_variable()`; probably should have been
7247
deprecated in v0.4.1.
73-
* `delphin.mrs.components.Pred.string_or_grammar_pred()`; replaced with
74-
`delphin.mrs.components.Pred.surface_or_abstract()`
75-
* `delphin.mrs.components.Pred.stringpred()`; replaced with
76-
`delphin.mrs.components.Pred.surface()`
77-
* `delphin.mrs.components.Pred.grammarpred()`; replaced with
78-
`delphin.mrs.components.Pred.abstract()`
7948

8049
## [v0.7.2][]
8150

@@ -93,9 +62,6 @@ have been addressed in this release. There is one significant new feature,
9362
which is the ability to process [incr tsdb()] profiles, either with the
9463
`process()` method on `TestSuite` objects or via the new `process` command.
9564

96-
**Note**: there are some changes that may break backward compatibility; these
97-
changes are prefixed with "**BREAKING**"
98-
9965
### Added
10066

10167
* `delphin.interfaces.ace.AceProcess.run_infos` stores information related
@@ -155,9 +121,6 @@ This release adds a number of features. The main ones include a redone
155121
release also removes Python 3.3 support and adds Python 3.6 support,
156122
and removes or mitigates several dependencies.
157123

158-
**Note**: there are some changes that may break backward compatibility; these
159-
changes are prefixed with "**BREAKING**"
160-
161124
### Python Versions
162125

163126
* Removed Python 3.3 support
@@ -710,6 +673,7 @@ information about changes, except for
710673
[commit messages](../../commits/v0.2).
711674

712675
[unreleased]: ../../tree/develop
676+
[v0.8.0]: ../../releases/tag/v0.8.0
713677
[v0.7.2]: ../../releases/tag/v0.7.2
714678
[v0.7.1]: ../../releases/tag/v0.7.1
715679
[v0.7.0]: ../../releases/tag/v0.7.0

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Here's a brief example of using the `itsdb` library:
4747
>>> prof = itsdb.TestSuite(expanduser('~/grammars/jacy/tsdb/gold/mrs'))
4848
>>> for row in prof['item']:
4949
... print(row['i-input'])
50-
...
50+
...
5151
雨 が 降っ た .
5252
太郎 が 吠え た .
5353
窓 が 開い た .
@@ -66,7 +66,7 @@ Here's an example of loading a SimpleMRS representation:
6666
'h1'
6767
>>> for p in m.preds():
6868
... print('{}|{}|{}|{}'.format(p.string, p.lemma, p.pos, p.sense))
69-
...
69+
...
7070
udef_q_rel|udef|q|None
7171
"_ame_n_rel"|ame|n|None
7272
"_furu_v_1_rel"|furu|v|1
@@ -85,7 +85,7 @@ Here is TDL introspection:
8585
>>> from delphin import tdl
8686
>>> with open(expanduser('~/logon/lingo/erg/fundamentals.tdl'), 'r') as f:
8787
... types = {t.identifier: t for t in tdl.parse(f)}
88-
...
88+
...
8989
>>> types['basic_word'].supertypes
9090
['word_or_infl_rule', 'word_or_punct_rule']
9191
>>> types['basic_word'].features()
@@ -169,6 +169,7 @@ The following packages/modules are available:
169169
- [Guy Emerson](https://github.com/guyemerson/) (MRS)
170170
- [Alex Kuhnle](https://github.com/AlexKuhnle/) (MRS, ACE)
171171
- [Francis Bond](https://github.com/fcbond/) (LaTeX export)
172+
- [Angie McMillan-Major](https://github.com/mcmillanmajora/) (maintainer)
172173

173174
## Related Software
174175

delphin/__about__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# the warehouse project:
44
# https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py
55

6-
__version__ = '0.7.2+dev'
6+
__version__ = '0.8.0+dev'
77
__version_info__ = __version__.replace('.', ' ').replace('-', ' ').split()
88

99
__title__ = 'PyDelphin'
@@ -13,5 +13,7 @@
1313
__author__ = 'Michael Wayne Goodman'
1414
__email__ = '[email protected]'
1515

16+
__maintainer__ = 'Michael Wayne Goodman and Angie McMillan-Major'
17+
1618
__license__ = 'MIT'
1719
__copyright__ = '2013--2018 %s <%s> and contributors' % (__author__, __email__)

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# The short X.Y version
2828
version = u''
2929
# The full version, including alpha/beta/rc tags
30-
release = u'v0.7.2'
30+
release = u'v0.8.0'
3131

3232

3333
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)