Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gargantext
Project
Project
Details
Activity
Releases
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
humanities
gargantext
Commits
a1c63c74
Commit
a1c63c74
authored
Feb 02, 2015
by
Mathieu Rodic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[BUGFIXES] Corrected some minor bugs.
parent
bc2b0fd4
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
TurboTagger.py
parsing/Taggers/TurboTagger.py
+4
-1
nlpserver
parsing/Taggers/nlpserver/nlpserver
+0
-1
gargantext.angular.js
static/js/gargantext.angular.js
+1
-1
ng-tags-input.min.js
static/js/ng-tags-input.min.js
+1
-1
No files found.
parsing/Taggers/TurboTagger.py
View file @
a1c63c74
...
...
@@ -8,9 +8,12 @@ class TurboTagger:
self
.
_nlpclient
=
NLPClient
()
def
stop
(
self
):
del
self
.
_nlpclient
if
hasattr
(
self
,
'_nlpclient'
):
del
self
.
_nlpclient
def
tag_text
(
self
,
text
):
if
not
hasattr
(
self
,
'_nlpclient'
):
self
.
_nlpclient
=
NLPClient
()
tokens_tags
=
[]
for
sentence
in
self
.
_nlpclient
.
tag
(
text
):
for
token
,
tag
in
sentence
:
...
...
parsing/Taggers/nlpserver/nlpserver
View file @
a1c63c74
...
...
@@ -6,7 +6,6 @@ DAEMON_DIR=$( cd "$(dirname "$BASH_SOURCE[0]")" && pwd)
DAEMON_SCRIPT
=
$DAEMON_DIR
/server.py
DAEMON_NAME
=
nlpserver
DAEMON_ARGS
=
echo
$DAEMON_SCRIPT
# DAEMON_USER=root
# The process ID of the script when it runs is stored here:
...
...
static/js/gargantext.angular.js
View file @
a1c63c74
...
...
@@ -296,8 +296,8 @@ gargantext.controller("DatasetController", function($scope, $http) {
return
defaults
.
concat
(
transform
);
}
return
$http
.
get
(
url
,
{
cache
:
true
,
transformResponse
:
appendTransform
(
$http
.
defaults
.
transformResponse
,
function
(
value
)
{
console
.
log
(
value
.
data
)
return
value
.
data
;
})
});
...
...
static/js/ng-tags-input.min.js
View file @
a1c63c74
This diff is collapsed.
Click to expand it.
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