This repository has been archived by the owner on Jun 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d187a9b
commit 9719ac9
Showing
6 changed files
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
[ | ||
"tests/test_annotator.py::TestAnnotator::()::test_pos", | ||
"tests/test_pntl.py::test_content" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Elastic Search is been used as | ||
# search engine. | ||
from os import getenv | ||
from json import loads | ||
|
||
from elasticsearch_dsl import connections | ||
from pntl.utils import env_str | ||
|
||
|
||
def connect(): | ||
|
||
connections.create_connection(**loads(getenv("ELASTICSEARCH_HOST"))) | ||
connections.create_connection(**loads(env_str("ELASTICSEARCH_HOST"))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
(S1(S(NP(PRP He))(VP(VP(VBD created)(NP(DT the)(NN robot)))(CC and)(VP(VBD broke)(NP(PRP it))(PP(IN after)(S(VP(VBG making)(NP(PRP it))))))))) | ||
(S1(S(NP(NNP PgAdmin))(VP(VBZ is)(NP(NP(DT the)(VBG leading)(NNP Open)(NNP Source)(NN management)(NN tool))(PP(IN for)(NP(NP(NNP Postgres))(, ,)(NP(DT the)(NN world))(VBZ s)(ADJP(RBS most)(JJ advanced))(NNP Open)(NNP Source)(NN database)))))(. .))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters