You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

fse

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fse - pypi Package Compare versions

Comparing version
0.1.0
to
0.1.1
+1
-1
fse.egg-info/PKG-INFO
Metadata-Version: 1.0
Name: fse
Version: 0.1.0
Version: 0.1.1
Summary: Fast Sentence Embeddings for Gensim

@@ -5,0 +5,0 @@ Home-page: https://github.com/oborchers/Fast_Sentence_Embeddings

@@ -9,3 +9,4 @@ #!/usr/bin/env python

from gensim.utils import any2unicode, open as s_open
from gensim.utils import any2unicode
from smart_open import open

@@ -158,3 +159,3 @@ from pathlib import Path

""" Builds an offset table to index the file """
with s_open(self.path, "rb") as f:
with open(self.path, "rb") as f:
offset = f.tell()

@@ -183,3 +184,3 @@ for line in f:

with s_open(self.path, "rb") as f:
with open(self.path, "rb") as f:
f.seek(self.line_offset[i])

@@ -199,4 +200,4 @@ output = f.readline()

"""
with s_open(self.path, "rb") as f:
with open(self.path, "rb") as f:
for i, line in enumerate(f):
yield IndexedSentence(any2unicode(line).split(), i)
Metadata-Version: 1.0
Name: fse
Version: 0.1.0
Version: 0.1.1
Summary: Fast Sentence Embeddings for Gensim

@@ -5,0 +5,0 @@ Home-page: https://github.com/oborchers/Fast_Sentence_Embeddings

@@ -86,3 +86,3 @@ #!/usr/bin/env python

name='fse',
version='0.1.0',
version='0.1.1',
description='Fast Sentence Embeddings for Gensim',

@@ -89,0 +89,0 @@