Skip to content

Commit f254946

Browse files
committedJan 11, 2021
更新server
1 parent 8f331be commit f254946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tools/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def _predict(self, sentences: List[str]):
7575
batch_pos = self.ltp.pos(hidden)
7676
batch_ner = self.ltp.ner(hidden)
7777
batch_srl = self.ltp.srl(hidden)
78-
batch_dep = self.ltp.dep(hidden)
78+
batch_dep = self.ltp.dep(hidden, fast=False)
7979
batch_sdp = self.ltp.sdp(hidden, mode='mix')
8080

8181
for sent, seg, pos, ner, srl, dep, sdp in \

0 commit comments

Comments
 (0)
Please sign in to comment.