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
5fd8afc0
Commit
5fd8afc0
authored
Feb 23, 2015
by
PkSM3
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[bugfix] ISText not defined
parent
584511ba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
functions.py
analysis/functions.py
+1
-1
__init__.py
parsing/FileParsers/__init__.py
+1
-0
No files found.
analysis/functions.py
View file @
5fd8afc0
...
...
@@ -281,7 +281,7 @@ def do_tfidf(corpus, reset=True):
somevariable
=
Node_Ngram
.
objects
.
filter
(
node
=
document
)
for
node_ngram
in
somevariable
:
try
:
# print("\tngram:",node_ngram.ngram)
# print("\tngram:",node_ngram.ngram
, " @@@ type:",type(node_ngram.ngram)
)
nnn
=
NodeNodeNgram
.
objects
.
get
(
nodex
=
corpus
,
nodey
=
document
,
ngram
=
node_ngram
.
ngram
)
except
:
score
=
tfidf
(
corpus
,
document
,
node_ngram
.
ngram
)
...
...
parsing/FileParsers/__init__.py
View file @
5fd8afc0
...
...
@@ -2,3 +2,4 @@ from .RisFileParser import RisFileParser
from
.IsiFileParser
import
IsiFileParser
from
.PubmedFileParser
import
PubmedFileParser
from
.EuropressFileParser
import
EuropressFileParser
from
.ISText
import
ISText
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