update knuth-plass paper link
This commit is contained in:
parent
6421f6b1fb
commit
6cf17e0066
@ -12,7 +12,7 @@ Emacs-kp implements the Knuth-Plass optimal line breaking algorithm with full su
|
||||
|
||||
### The Knuth-Plass Algorithm
|
||||
|
||||
The algorithm is based on the seminal 1981 paper ["Breaking Paragraphs into Lines"](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf) by Donald Knuth and Michael Plass. Unlike greedy line-breaking (used by most text editors), K-P considers **all possible breakpoints** simultaneously to find the globally optimal solution.
|
||||
The algorithm is based on the seminal 1981 paper ["Breaking Paragraphs into Lines"](https://gwern.net/doc/design/typography/tex/1981-knuth.pdf) by Donald Knuth and Michael Plass. Unlike greedy line-breaking (used by most text editors), K-P considers **all possible breakpoints** simultaneously to find the globally optimal solution.
|
||||
|
||||
#### Core Concepts
|
||||
|
||||
@ -167,6 +167,6 @@ Clear all paragraph caches.
|
||||
|
||||
## Credits
|
||||
|
||||
- Core algorithm: ["Breaking Paragraphs into Lines"](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf) by Donald E. Knuth and Michael F. Plass (1981)
|
||||
- Core algorithm: ["Breaking Paragraphs into Lines"](https://gwern.net/doc/design/typography/tex/1981-knuth.pdf) by Donald E. Knuth and Michael F. Plass (1981)
|
||||
- Hyphenation: Adapted from [Pyphen](https://github.com/Kozea/Pyphen), using Liang's algorithm
|
||||
- Dictionaries: [Hunspell hyphenation patterns](https://github.com/Kozea/Pyphen)
|
||||
|
||||
@ -10,7 +10,7 @@ Emacs-kp 实现了 Knuth-Plass 最优断行算法,并扩展支持 CJK(中日
|
||||
|
||||
### Knuth-Plass 算法
|
||||
|
||||
本算法基于 Donald Knuth 和 Michael Plass 于 1981 年发表的经典论文 ["Breaking Paragraphs into Lines"](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf)。与大多数文本编辑器使用的贪心断行不同,K-P 算法**同时考虑所有可能的断点**,寻找全局最优解。
|
||||
本算法基于 Donald Knuth 和 Michael Plass 于 1981 年发表的经典论文 ["Breaking Paragraphs into Lines"](https://gwern.net/doc/design/typography/tex/1981-knuth.pdf)。与大多数文本编辑器使用的贪心断行不同,K-P 算法**同时考虑所有可能的断点**,寻找全局最优解。
|
||||
|
||||
#### 核心概念
|
||||
|
||||
@ -165,6 +165,6 @@ Emacs-kp 为 CJK 文本扩展了原算法:
|
||||
|
||||
## 致谢
|
||||
|
||||
- 核心算法:Donald E. Knuth 和 Michael F. Plass 的论文 ["Breaking Paragraphs into Lines"](http://www.eprg.org/G53DOC/pdfs/knuth-plass-breaking.pdf)(1981)
|
||||
- 核心算法:Donald E. Knuth 和 Michael F. Plass 的论文 ["Breaking Paragraphs into Lines"](https://gwern.net/doc/design/typography/tex/1981-knuth.pdf)(1981)
|
||||
- 断词算法:改编自 [Pyphen](https://github.com/Kozea/Pyphen),使用 Liang 算法
|
||||
- 词典:[Hunspell 断词模式](https://github.com/Kozea/Pyphen)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user