Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Zied SELLAMI
address-extractor
Commits
9ee3031f
Commit
9ee3031f
authored
Dec 17, 2018
by
Rhadia STG_HARMASSI
Browse files
add print test_set
parent
c2f09a87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
CRF-address-extractor/CRF.py
CRF-address-extractor/CRF.py
+1
-0
No files found.
CRF-address-extractor/CRF.py
View file @
9ee3031f
...
...
@@ -37,6 +37,7 @@ a= [pd.read_table(sys.argv[2]+"/"+f, sep = "\s+",names=range(100),engine='python
testing_set
=
[
s
.
astype
(
"str"
)
for
s
in
a
]
testing_Set
=
[
tes
.
drop
(
tes
.
columns
[
7
:
100
],
axis
=
1
)
for
tes
in
testing_set
]
test_set
=
[]
print
len
(
test_set
)
for
test
in
testing_Set
:
tag_test
=
nltk
.
pos_tag
(
test
.
loc
[:,
0
])
l
=
[]
...
...
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