* Add word / tag / label sets, for use in neural net

This commit is contained in:
Matthew Honnibal 2015-06-28 05:46:53 +02:00
parent cfcbd8d256
commit 8b5de4a411
1 changed files with 55 additions and 0 deletions

View File

@ -355,3 +355,58 @@ trigrams = (
(N0W, N0p, N0lL, N0l2L), (N0W, N0p, N0lL, N0l2L),
(N0p, N0lL, N0l2L), (N0p, N0lL, N0l2L),
) )
words = (
S2w,
S1w,
S1rw,
S0lw,
S0l2w,
S0w,
S0r2w,
S0rw,
N0lw,
N0l2w,
N0w,
N1w,
N2w,
P1w,
P2w
)
tags = (
S2p,
S1p,
S1rp,
S0lp,
S0l2p,
S0p,
S0r2p,
S0rp,
N0lp,
N0l2p,
N0p,
N1p,
N2p,
P1p,
P2p
)
labels = (
S2L,
S1L,
S1rL,
S0lL,
S0l2L,
S0L,
S0r2L,
S0rL,
N0lL,
N0l2L,
N0L,
N1L,
N2L,
P1L,
P2L
)