forked from Niger-Volta-LTI/iranlowo
-
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
13 changed files
with
235 additions
and
144 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,3 +1,4 @@ | ||
gensim | ||
bs4 | ||
configargparse | ||
torch | ||
|
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 @@ | ||
from .corpus import Corpus, DirectoryCorpus |
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,13 @@ | ||
from iranlowo.corpus import Corpus | ||
|
||
|
||
class BBCCorpus(Corpus): | ||
def __init__(self, path): | ||
""" | ||
Args: | ||
path: | ||
""" | ||
super(BBCCorpus, self).__init__(path=self.path, **kwargs) | ||
super().__init__(path) | ||
|
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,12 @@ | ||
from iranlowo.corpus import Corpus | ||
|
||
|
||
class BibeliCorpus(Corpus): | ||
def __init__(self, path): | ||
""" | ||
Args: | ||
path: | ||
""" | ||
super(BibeliCorpus, self).__init__(path=self.path, **kwargs) | ||
|
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
Empty file.
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,12 @@ | ||
from iranlowo.corpus import Corpus | ||
|
||
|
||
class YorubaBlogCorpus(Corpus): | ||
def __init__(self, path): | ||
""" | ||
Args: | ||
path: | ||
""" | ||
super(YorubaBlogCorpus, self).__init__(path=self.path, **kwargs) | ||
|
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 scrapy | ||
|
||
|
||
class Scrapper(scrapy.Spider): | ||
""" | ||
Interface for scrapping data from :mod:`iranlowo.scrapper` | ||
""" | ||
|
||
def __init__(self, name, urls, **kwargs): | ||
super(Scrapper, self).__init__(name, **kwargs) | ||
|
||
def parse(self, response): | ||
pass | ||
|
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 @@ | ||
ṣùgbọ́n |
Oops, something went wrong.