mirror of
https://github.com/explosion/spaCy.git
synced 2025-08-02 19:30:19 +03:00
Temporarily commented out code
This commit is contained in:
parent
6bb8d26528
commit
523bb2ad0b
|
@ -42,20 +42,20 @@ def forward(
|
||||||
sc_len_start: int = model.attrs["sc_len_start"]
|
sc_len_start: int = model.attrs["sc_len_start"]
|
||||||
sc_len_end: int = model.attrs["sc_len_end"]
|
sc_len_end: int = model.attrs["sc_len_end"]
|
||||||
features: List[Ints2d] = []
|
features: List[Ints2d] = []
|
||||||
for doc in docs:
|
# for doc in docs:
|
||||||
features.append(
|
# features.append(
|
||||||
model.ops.asarray2i(
|
# model.ops.asarray2i(
|
||||||
doc.get_affix_hashes(
|
# doc.get_affix_hashes(
|
||||||
suffs_not_prefs,
|
# suffs_not_prefs,
|
||||||
case_sensitive,
|
# case_sensitive,
|
||||||
len_start,
|
# len_start,
|
||||||
len_end,
|
# len_end,
|
||||||
special_chars,
|
# special_chars,
|
||||||
sc_len_start,
|
# sc_len_start,
|
||||||
sc_len_end,
|
# sc_len_end,
|
||||||
)
|
# )
|
||||||
)
|
# )
|
||||||
)
|
# )
|
||||||
|
|
||||||
backprop: Callable[[List[Ints2d]], List] = lambda d_features: []
|
backprop: Callable[[List[Ints2d]], List] = lambda d_features: []
|
||||||
return features, backprop
|
return features, backprop
|
||||||
|
|
Loading…
Reference in New Issue
Block a user