compling
Advanced tools
| Metadata-Version: 2.1 | ||
| Name: compling | ||
| Version: 0.0.33 | ||
| Version: 0.0.34 | ||
| Summary: Computational Linguistic | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/FrancescoPeriti/compling |
@@ -13,4 +13,2 @@ import gensim | ||
| def __init__(self, index: Iterable[dict]=None, id_field:Union[str, List[str]]=None, output:str=None, text_field='text', skipgram_ws: int = None): | ||
| if index is None: | ||
| return | ||
| super().__init__(output=output, index=index, text_field=text_field, skipgram_ws=skipgram_ws, tag=True, | ||
@@ -17,0 +15,0 @@ module=gensim.models.doc2vec.Doc2Vec, id_field=id_field) |
@@ -56,2 +56,5 @@ import abc | ||
| if index is None: | ||
| return | ||
| if tag: | ||
@@ -58,0 +61,0 @@ self.data = [gensim.models.doc2vec.TaggedDocument(words=record[text_field].split(), |
@@ -13,5 +13,4 @@ import gensim | ||
| def __init__(self, index: Iterable[dict]=None, output:str=None, text_field='text', skipgram_ws: int = None): | ||
| if index is None: | ||
| return | ||
| super().__init__(output=output, index=index, text_field=text_field, tag=False, skipgram_ws=skipgram_ws, | ||
| module=gensim.models.fasttext.FastText) |
@@ -16,5 +16,3 @@ import gensim | ||
| def __init__(self, index: Iterable[dict]=None, output:str=None, text_field='text', skipgram_ws: int = None): | ||
| if index is None: | ||
| return | ||
| super().__init__(output=output, index=index, text_field=text_field, tag=False, | ||
| skipgram_ws=skipgram_ws, module=gensim.models.Word2Vec) |
+1
-1
| Metadata-Version: 2.1 | ||
| Name: compling | ||
| Version: 0.0.33 | ||
| Version: 0.0.34 | ||
| Summary: Computational Linguistic | ||
@@ -5,0 +5,0 @@ Home-page: https://github.com/FrancescoPeriti/compling |
+1
-1
@@ -44,3 +44,3 @@ import subprocess | ||
| name="compling", | ||
| version="0.0.33", | ||
| version="0.0.34", | ||
| author="Francesco Periti", | ||
@@ -47,0 +47,0 @@ author_email="peritifrancesco@gmail.com", |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
19869195
04013
-0.1%