-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Although the stream is read correctly (and lemmatization works), the following is reported on the console:
Exception when deserializing Lemmatizer: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.MemoryStream.InternalReadInt32()
at System.IO.BinaryReader.ReadInt32()
at LemmaSharp.Classes.Lemmatizer.Deserialize(BinaryReader binRead)
LemmaSharp version: 4.12.5287.29676
Data file: full7z-mlteast-en.lem
C#.net version 4.5
Code used:
var path = @"..\..\data\full7z-mlteast-en.lem";
var stream = File.OpenRead(path);
Lemmatizer lemmatizer = new Lemmatizer(stream);The last line results in the console output reported above.
pmahend1 and matthewpwatkins
Metadata
Metadata
Assignees
Labels
No labels