Hyphenate

버전 2.0.5 (34.8 KB) 작성자: Stephen23
Word hyphenation using Franklin Mark Liang's algorithm (aka Knuth-Liang algorithm). Used in TeX and LaTeX
다운로드 수: 74
업데이트 날짜: 2024/1/13
Word hyphenation using Franklin Mark Liang's algorithm (aka Knuth-Liang algorithm). As used by Knuth in TeX and LaTeX, and ported to many other languages. HYPHENATE takes the word, and returns the parts that can be separated by hyphens.
Examples
>> hyphenate("hyphenation")
ans =
"hy" "phen" "a" "tion"
>> hyphenate('supercalifragilisticexpialidocious')
ans =
'su' 'per' 'cal' 'ifrag' 'ilis' 'tic' 'ex' 'pi' 'ali' 'do' 'cious'
>> hyphenate('project')
ans =
'project'
Note
I just ported this algorithm to MATLAB, but am not responsible for it deciding where it splits words.
Note that the Liang algorithm does not provide all possible hyphenation points for all words. The algorithm provides most correct hyphenation points without providing any incorrect ones, i.e. HYPHENATE returns a subset of the correct hyphenation points.

인용 양식

Stephen23 (2024). Hyphenate (https://github.com/DrosteEffect/Hyphenate/releases/tag/v2.0.5), GitHub. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Fractals에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

GitHub 디폴트 브랜치를 사용하는 버전은 다운로드할 수 없음

버전 게시됨 릴리스 정보
2.0.5

See release notes for this release on GitHub: https://github.com/DrosteEffect/Hyphenate/releases/tag/v2.0.5

2.0.4.0

See release notes for this release on GitHub: https://github.com/DrosteEffect/Hyphenate/releases/tag/v2.0.4

2.0.3

See release notes for this release on GitHub: https://github.com/DrosteEffect/Hyphenate/releases/tag/v2.0.3

2.0.2

See release notes for this release on GitHub: https://github.com/DrosteEffect/Hyphenate/releases/tag/v2.0.2

2.0.0

* Now accepts the word as a scalar string (and returns a string array).
* Add error IDs.

1.1.0

* Add Barbara Beeton's exceptions.

1.0.0.0

* Fixed tags

이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.
이 GitHub 애드온의 문제를 보거나 보고하려면 GitHub 리포지토리로 가십시오.