Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is issue #17

Closed
dvarelas opened this issue Mar 28, 2023 · 1 comment
Closed

is issue #17

dvarelas opened this issue Mar 28, 2023 · 1 comment

Comments

@dvarelas
Copy link
Owner

File "/data/code/Linguini/linguini/preprocessing/encoders.py",
line 52, in transform
for text in sentences:
text = text[:max_len - 2]
TypeError: 'NoneType' object is not subscriptable

@fixobot-404
Copy link

fixobot-404 bot commented Mar 28, 2023


Given this error:
File "/data/code/Linguini/linguini/preprocessing/encoders.py",
line 52, in transform
for text in sentences:
text = text[:max_len - 2]
TypeError: 'NoneType' object is not subscriptable

Here's the suspect file: ./Linguini/linguini/preprocessing/encoders.py

and the suspect function:
def transform(self, sentences):
"""
Transforms sentences by indexing them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant