-
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.
- Loading branch information
Showing
8 changed files
with
31 additions
and
8 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Ignore Python cache files | ||
__pycache__/ | ||
|
||
# Ignore system and editor files | ||
.DS_Store | ||
*.swp | ||
*.swo | ||
*.bak | ||
*~ |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# __init__.py | ||
|
||
#from finger.toponym_coder import * | ||
#from finger.toponym_tagger import * | ||
#from finger.output_formatter import * |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import sys | ||
print(sys.path) | ||
|
||
from fingerGeoparser import geoparser | ||
|
||
def test_constructor(): | ||
gp = geoparser.geoparser(pipeline_path="fi_core_news_sm") | ||
assert isinstance(gp, geoparser.geoparser) | ||
|
||
def test_method(): | ||
gp = geoparser.geoparser(pipeline_path="fi_core_news_sm") | ||
res = gp.geoparse(["Helsinki on kaunis tänään", "Paris Hilton mokasi."]) | ||
|
||
#assert isinstance(gp, geoparser) |