-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed main concept linking solution to untrained spacy
- Loading branch information
1 parent
0b12e1d
commit 4eb2cf1
Showing
4 changed files
with
6 additions
and
7 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
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,8 +1,9 @@ | ||
# from relation_extraction.NaiveMVP.main import handle_relation_post_request | ||
from relation_extraction.NaiveMVP.main import handle_relation_post_request | ||
from relation_extraction.multilingual.main import begin_relation_extraction | ||
|
||
class RelationExtractor(): | ||
@classmethod | ||
def begin_extraction(self, data): | ||
# handle_relation_post_request(data) # Naive solution | ||
handle_relation_post_request(data) # Naive solution | ||
begin_relation_extraction(data) # Multilingual solution |
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