Spaces:
Running
Running
Consoli Sergio
commited on
Commit
·
41c36ed
1
Parent(s):
900465a
changed num cores elinking to four
Browse files- app-demo-myMultiNER.py +1 -1
- nerBio.py +1 -1
app-demo-myMultiNER.py
CHANGED
@@ -236,7 +236,7 @@ def nerBio(text, ModelsSelection, CategoriesSelection, ScoreFilt, EntityLinking,
|
|
236 |
parser.add_argument("--USE_CACHE", type=str, default="False",
|
237 |
help="whether to use cache for the NER and NEL tasks or not")
|
238 |
|
239 |
-
parser.add_argument("--num_cores_eLinking", type=int, default=
|
240 |
|
241 |
parser.add_argument("--computeEntityContext", type=str, default="False",
|
242 |
help="whether to extract a readable context from the extracted triples for the concept")
|
|
|
236 |
parser.add_argument("--USE_CACHE", type=str, default="False",
|
237 |
help="whether to use cache for the NER and NEL tasks or not")
|
238 |
|
239 |
+
parser.add_argument("--num_cores_eLinking", type=int, default=4, help="parallel processing for the entity linking process")
|
240 |
|
241 |
parser.add_argument("--computeEntityContext", type=str, default="False",
|
242 |
help="whether to extract a readable context from the extracted triples for the concept")
|
nerBio.py
CHANGED
@@ -2440,7 +2440,7 @@ if __name__ == '__main__':
|
|
2440 |
parser.add_argument("--USE_CACHE", type=str, default="False",
|
2441 |
help="whether to use cache for the NER and NEL tasks or not")
|
2442 |
|
2443 |
-
parser.add_argument("--num_cores_eLinking", type=int, default=
|
2444 |
|
2445 |
parser.add_argument("--computeEntityContext", type=str, default="False", help="whether to extract a readable context from the extracted triples for the concept")
|
2446 |
parser.add_argument("--computeEntityGlobalContext", type=str, default="False", help="whether to extract a readable context from the extracted triples of all the entities extracted from the endpoint for the concept")
|
|
|
2440 |
parser.add_argument("--USE_CACHE", type=str, default="False",
|
2441 |
help="whether to use cache for the NER and NEL tasks or not")
|
2442 |
|
2443 |
+
parser.add_argument("--num_cores_eLinking", type=int, default=4, help="parallel processing for the entity linking process")
|
2444 |
|
2445 |
parser.add_argument("--computeEntityContext", type=str, default="False", help="whether to extract a readable context from the extracted triples for the concept")
|
2446 |
parser.add_argument("--computeEntityGlobalContext", type=str, default="False", help="whether to extract a readable context from the extracted triples of all the entities extracted from the endpoint for the concept")
|