Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SequenceLabelingTool
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZGC_INDEX
SequenceLabelingTool
Commits
27c6f848
Commit
27c6f848
authored
Dec 05, 2019
by
rico.liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update recommend limit
parent
81ef4987
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
2 deletions
+2
-2
ZGC_Annotator.py
ZGC_Annotator.py
+1
-1
recommend.cpython-36.pyc
utils/__pycache__/recommend.cpython-36.pyc
+0
-0
recommend.py
utils/recommend.py
+1
-1
No files found.
ZGC_Annotator.py
View file @
27c6f848
...
...
@@ -34,7 +34,7 @@ class Example(Frame):
self
.
debug
=
False
self
.
colorAllChunk
=
True
self
.
recommendFlag
=
True
self
.
history
=
deque
(
maxlen
=
2
0
)
self
.
history
=
deque
(
maxlen
=
10
0
)
self
.
currentContent
=
deque
(
maxlen
=
1
)
'''
...
...
utils/__pycache__/recommend.cpython-36.pyc
View file @
27c6f848
No preview for this file type
utils/recommend.py
View file @
27c6f848
...
...
@@ -38,7 +38,7 @@ def maximum_matching(train_text, decode_text, entityRe = r'\[\@.*?\#.*?\*\](?!\#
new_string
=
sentences
[
idx
]
+
'
\n
'
else
:
new_string
=
sentences
[
idx
]
if
idx
>
20
:
if
idx
>
9999999
:
far_sentences
+=
new_string
else
:
near_sentences
+=
new_string
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment