sillsdev / machine

Machine is a natural language processing library for .NET that is focused on providing tools for processing resource-poor languages.
MIT License
26 stars 15 forks source link

fix missing last verse #212

Closed johnml1135 closed 2 months ago

johnml1135 commented 2 months ago

fix Last verse blank in USFM in a specific translation engine - #408

This change is Reviewable

johnml1135 commented 2 months ago

src/SIL.Machine/Corpora/IUsfmParserHandler.cs line 34 at r1 (raw file):

Previously, ddaspit (Damien Daspit) wrote…
Why did you remove the `marker` parameter?

It isn't needed - also it isn't called when a new book starts, but when the existing book ends, which does not occur with a marker but rather just no more characters.