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
8749af6f
Commit
8749af6f
authored
Mar 25, 2015
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[CLEAN] Init clean.
parent
d6dbafd9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
15 deletions
+1
-15
init.sh
init/init.sh
+1
-1
init_gargantext.py
init/init_gargantext.py
+0
-0
part_of_speech_labels.py
init/part_of_speech_labels.py
+0
-14
No files found.
init/init.sh
View file @
8749af6f
...
...
@@ -9,6 +9,6 @@ psql -d gargandb -f init2.sql
sleep
2
#../manage.py shell < init.py
../manage.py shell <
../
init_gargantext.py
../manage.py shell < init_gargantext.py
#psql -d gargandb -f hstore2jsonb.sql
init_gargantext.py
→
init
/init
_gargantext.py
View file @
8749af6f
File moved
init/part_of_speech_labels.py
deleted
100644 → 0
View file @
d6dbafd9
from
gargantext_web.db
import
*
# Instantiante table NgramTag:
f
=
open
(
"part_of_speech_labels.txt"
,
'r'
)
for
line
in
f
.
readlines
():
name
,
description
=
line
.
strip
()
.
split
(
'
\t
'
)
_tag
=
Tag
(
name
=
name
,
description
=
description
)
session
.
add
(
_tag
)
session
.
commit
()
f
.
close
()
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