If i well understand, the dictionary weight affects the weight of the single words of the dictionary itself.
So, i would like to know if is there some difference, for the FineReader engine, on applying weigths in the following two manners:
1: From the TextLanguage object get the BaseLanguages, add a new BaseLanguage, get the DictionaryDescriptions object from the baselanguage, add new IDictionaryDescription and set the weigth. Then i can add other IDictionaryDescription and set their weight too.
2: From the TextLanguage object get the BaseLanguages, add a new BaseLanguage, get the DictionaryDescriptions object from the baselanguage, add new IDictionaryDescription and set the weigth. Then i can add other BaseLanguage to the BaseLanguages collection and add a single dictionary to each BaseLanguage setting also the weight.
So, in first case i have one BaseLanguage that collect more dictionaries, in the second case i have a collection of BaseLanguage each of them having one dictionary.
What about the weights? Weights act differently if i have one or more BaseLanguage? Maybe the weights are in some way related only to their parent baselanguage or is it a general parameter over the baselangues structure?
Thanks, Michele
コメント
1件のコメント
Hi Michele!
Weights act the same if you have one or more base languages, it is a general parameter.
When choosing between 2 models that you have described (1 base language with several dictionaries or 2 base languges each with 1 dictionary) you should in fact do what logically is correct. So if the dictionaries are parts of a single language, it is better for them to to be a part of the same BaseLanguage object. Otherwise you should create 2 different BaseLanguage objects.
サインインしてコメントを残してください。