UNPKG
word-break
Version:
latest (0.0.5)
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
word-break util for npl
github.com/pakornsak/word-break
pakornsak/word-break
word-break
/
index.d.ts
9 lines
(7 loc)
•
153 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
declare
function
wordBreak
(
s
:
string
,
dict
:
string
[],
longestWordLength
?:
number
):
string
[];
declare
namespace
wordBreak
{}
export
= wordBreak;