Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nltk
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
edx
nltk
Commits
fdc532db
Commit
fdc532db
authored
Mar 03, 2015
by
Long Thanh Duong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove Download script for CRF-Suite
Add pip installation for python crfsuite
parent
a07f7f30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
32 deletions
+1
-32
jenkins.sh
+0
-32
pip-req.txt
+1
-0
No files found.
jenkins.sh
View file @
fdc532db
...
...
@@ -43,39 +43,7 @@ if [[ ! -d $senna_folder_name ]]; then
rm
${
senna_file_name
}
fi
# Download and Install Liblbfgs
lbfgs_file_name
=
$(
curl
-s
'http://www.chokkan.org/software/liblbfgs/'
|
grep
-o
'liblbfgs-.*\.tar.gz'
| head
-n1
)
[[
${
lbfgs_file_name
=
}
=
~
(
.+
)
\.
tar.gz
]]
lbfgs_folder_name
=
${
BASH_REMATCH
[1]
}
if
[[
!
-d
$lbfgs_folder_name
]]
;
then
wget
-nv
"https://github.com/downloads/chokkan/liblbfgs/
$lbfgs_file_name
"
tar
-xvzf
${
lbfgs_file_name
}
rm
${
lbfgs_file_name
}
fi
cd
$lbfgs_folder_name
./configure
--prefix
=
$HOME
/third/liblbfgs
make
make install
cd
..
# Download and install crfsuite
crfsuite_file_name
=
$(
curl
-s
'http://www.chokkan.org/software/crfsuite/'
|
grep
-o
'crfsuite-.*\.tar.gz'
| head
-n1
)
[[
${
crfsuite_file_name
=
}
=
~
(
.+
)
\.
tar.gz
]]
crfsuite_folder_name
=
${
BASH_REMATCH
[1]
}
if
[[
!
-d
$crfsuite_folder_name
]]
;
then
wget
-nv
"https://github.com/downloads/chokkan/crfsuite/
$crfsuite_file_name
"
tar
-xvzf
${
crfsuite_file_name
}
rm
${
crfsuite_file_name
}
fi
cd
$crfsuite_folder_name
./configure
--prefix
=
$HOME
/third/crfsuite
--with-liblbfgs
=
$HOME
/third/liblbfgs
make
make install
cd
..
# Setup the Enviroment variable
export
CRFSUITE
=
$(
pwd
)
'/crfsuite/bin'
export
STANFORD_PARSER
=
$(
pwd
)
'/stanford-parser'
export
STANFORD_MODELS
=
$(
pwd
)
'/stanford-parser'
export
STANFORD_POSTAGGER
=
$(
pwd
)
'/stanford-postagger'
...
...
pip-req.txt
View file @
fdc532db
...
...
@@ -6,3 +6,4 @@ numpy>=1.8.0
scipy>=0.13.2
matplotlib>=1.3.1
scikit-learn>=0.14.1
python-crfuite>=0.8.2
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