Archive

Archive for June, 2012

MangAI v1.06 released

June 29th, 2012 4 comments

New to version 1.06:
-AI improvements to MPM and MSM interpretation
Better able to detect unspecified spans (1112 meaning 11-12).
Better able to detect when a hyphen does not indicate a span (50-200 is two separate numbers 50 and 200 instead of span 50 through 200).
Improved ability of MPM to find non-delineated chapter spans (foo_v3_15-20 is likely volume 3, chapters 15-20).
MSM interpretation is automatically disabled for folders with low confidence. This usually happens for small folders of scanlator notes or fanart. In these cases, it is better to sort using basic filename string comparison.
Improved MSM handling of special scan overspecification (p3_notes.jpeg is probably better placed between p3.jpeg and p4.jpeg instead of near the end of the volume/chapter since it likely explains something just read in p3.jpeg).
Various logic tweaks.
-Overhauled epub creation code
Tweaked the basic structure of created epub files so that they (hopefully) display better across all devices.

Download the latest version from the MangAI project page.

Categories: MangAI, Projects

It’s been a while, MangAI

June 21st, 2012 4 comments

It feels like I haven’t worked on MangAI in ages. While reading manga on my iPad last night, I noticed that some of the 2-page scans were being placed at the end of the chapter instead of in-between the proper pages. Tracing back through MangAI’s MSM interpretation, I found the cause of the problem. Here’s a sample scenario:

Foo_ch25/
Foo_25-01.jpg
Foo_25-02.jpg

Foo_25-10.jpg
Foo_25-1112.jpg
Foo_25-13.jpg

In this case, Foo_25-1112.jpg refers to chapter 25, pages 11-12. “25-1112” is tricky to interpret since MangAI has to first determine that the given hyphen does not refer to a span between 25 and 1112, and then it has to determine that 1112 is an unspecified span 11-12. The first step was already being handled properly, but the second step was never given a chance since the first step, after splitting 25 and 1112 into separate entities, disregarded 1112 as being too large of a number to refer to a volume, chapter, or page.

Confused yet? I was too. It’s a rare situation, but I am now working on improving the logic.

Categories: MangAI, Projects