Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello!
In this PR, I've implemented a version of HDTCat working whatever the input count of HDTs (for MS/4S Dictionaries), it follows the same algorithm as HDTCat_let's_make_HDT_scale, but with multiple HDT input, except that the streams from each HDT are merged to behave like one HDT
I've added it in HDTCatTree with the option
loader.cattree.kcat
to set the number of HDT to merge at the same time3 options are here to describe the cat:
hdtcat.location
: the build directory, by default a temporary location is specifiedhdtcat.location.future
: the future location of the HDT, can't be in the build directoryhdtcat.deleteLocation
: if we should delete the build directory (if specified)API
I've added all the options in the HDTOptionsKeys class
A new method was added in HDTManager
Using the old method will use the legacy algorithm
CLI
I've added the BATCH version of hdtCat with the
hdtCat.bat
I've added the -kcat argument to HDTCat to allow to use the new version of HDTCat with 2 HDTs, but now we can specify the number of HDTs we want
With hdtVerify, I've removed the limit of 1 hdt, I've added 2 arguments:
-progress
to see the progress of the verify for the current HDT-equals
to see that all the HDTs specified are equalsCore
The implementation of HDTCat, with tests