Skip to content

Commit 04d65f3

Browse files
committed
Update README
1 parent 649b094 commit 04d65f3

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

README.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,26 @@
66
[![downloads](https://img.shields.io/github/downloads/yzhangcs/parser/total)](https://pypistats.org/packages/supar)
77
[![LICENSE](https://img.shields.io/github/license/yzhangcs/parser)](https://github.com/yzhangcs/parser/blob/master/LICENSE)
88

9-
A Python package that includes many state-of-the-art syntactic/semantic parsers (with pretrained models for more than 19 languages), as well as highly-parallelized implementations of several well-known and effective structured prediction algorithms.
9+
A Python package designed for structured prediction, including reproductions of many state-of-the-art syntactic/semantic parsers (with pretrained models for more than 19 languages), and
1010

1111
* Dependency Parser
12-
* Biaffine ([Dozat and Manning, 2017](https://parser.readthedocs.io/en/latest/refs.html#dozat-2017-biaffine))
13-
* CRF/MatrixTree ([Koo et al., 2007](https://parser.readthedocs.io/en/latest/refs.html#koo-2007-structured); [Ma and Hovy, 2017](https://parser.readthedocs.io/en/latest/refs.html#ma-2017-neural))
14-
* CRF2o ([Zhang et al., 2020a](https://parser.readthedocs.io/en/latest/refs.html#zhang-2020-efficient))
12+
* Biaffine ([Dozat and Manning, 2017](https://openreview.net/forum?id=Hk95PK9le))
13+
* CRF/CRF2o ([Zhang et al., 2020a](https://aclanthology.org/2020.acl-main.302))
1514
* Constituency Parser
16-
* CRF ([Zhang et al., 2020b](https://parser.readthedocs.io/en/latest/refs.html#zhang-2020-fast))
15+
* CRF ([Zhang et al., 2020b](https://www.ijcai.org/Proceedings/2020/560/))
1716
* Semantic Dependency Parser
18-
* Biaffine ([Dozat and Manning, 2018](https://parser.readthedocs.io/en/latest/refs.html#wang-2019-second))
19-
* MFVI/LBP ([Wang et al, 2019](https://parser.readthedocs.io/en/latest/refs.html#wang-2019-second))
17+
* Biaffine ([Dozat and Manning, 2018](https://aclanthology.org/P18-2077))
18+
* MFVI/LBP ([Wang et al, 2019](https://aclanthology.org/P18-2077))
19+
20+
highly-parallelized implementations of several well-known structured prediction algorithms.[^1]
21+
22+
* Tree
23+
* MatrixTree ([Koo et al., 2007](https://www.aclweb.org/anthology/D07-1015); [Ma and Hovy, 2017](https://aclanthology.org/I17-1007))
24+
* DependencyCRF ([Eisner et al., 2000](https://www.cs.jhu.edu/~jason/papers/eisner.iwptbook00.pdf); [Zhang et al., 2020](https://aclanthology.org/2020.acl-main.302))
25+
* Dependency2oCRF ([McDonald et al., 2006](https://www.aclweb.org/anthology/E06-1011); [Zhang et al., 2020](https://aclanthology.org/2020.acl-main.302))
26+
* ConstituencyCRF ([Stern et al. 2017](https://aclanthology.org/P17-1076); [Zhang et al., 2020b](https://www.ijcai.org/Proceedings/2020/560/))
27+
* Linear Chain:
28+
* LinearChainCRF ([Lafferty et al., 2001](http://www.aladdin.cs.cmu.edu/papers/pdfs/y2001/crf.pdf))
2029

2130
## Installation
2231

@@ -37,7 +46,7 @@ As a prerequisite, the following requirements should be satisfied:
3746

3847
## Usage
3948

40-
`SuPar` allows you to download the pretrained model and parse sentences with a few lines of code:
49+
You can download the pretrained model and parse sentences with just a few lines of code:
4150
```py
4251
>>> from supar import Parser
4352
>>> parser = Parser.load('biaffine-dep-en')
@@ -288,3 +297,7 @@ If you are interested in them, please cite:
288297
pages = {4046--4053}
289298
}
290299
```
300+
301+
## Acknowledge
302+
303+
[^1]: The implementations of structured distributions and semirings are heavily borrowed from [torchstruct](https://github.com/harvardnlp/pytorch-struct) with some tailoring.

0 commit comments

Comments
 (0)