Yeah but then i will need to declare which is a verb and which is not.
This would just take too much time especially if i am going to use different translations.
The problem i see here is only that of huge txt files 100 500 mb and 1 Gb 5 Gb and more.
The easiest way is simply to insert them into memory if i use only pc. But i am aiming at mobiles which i simply do not know how.much free memory each device have. How much free memory etc...
So it is not really a problem but a miss conclusion on how to use large amounts of data inside a mobile device.
As far as i know if you use some apps on your phone they can each in background use more memory or less memory then the phone potential to run all of them in ease.
Yeah i figured out the use of arrays as for alpha betic search , if you search something that starts with "a" you do.not need the b and c and d ... So automatically you search much less.
I am building an Ed App, and planning to insert most of the educational books Israel has to offer inside it. It might be devided into several apps and it might not.
The Corona Holiday, made me think that if people cannot really go.to school in a similar fashion to the "before Corona time" we as a society are losing to a war of our young minds. This is not acceptable at least by me.
And obviously because we are talking mostly about kids, low frame rates at this era is not acceptable by them.
So it just made me think, what if i could get all of the educational stuff in one place and let it act like a "game"
Effects, Special keyboards, 2D, 3D shaders ,shadows, and ofcourse Searching stuff.
My app already devides stuff into chapters and signs.
I am on target just like you said.
But i wanted to keep all file sizes small.
So first file was to create a simple index
Then a search index
And then a super small search index.
So if i am searching now for Drive
It will check only 2 lines in the search index.
1 is for the accurate "Drive" found in the main txt file.
2 is the not accurate or similar to no matter if verb or something else.
I might also add a button for how much accuracy you want then it will still search these 2 lines only.
So first line is a milisecond search and present.
The second depends on accuracy.
About game assets protection. If ill take all of assets and connect them into one big asset file for images for example i could read using a smart search index in real time create them in the render itself rather then to load images at start up, because then i will be able for example to enter amounts of "rubbish" bytes before and after, this will automaticly change the "getfilepos" and "setthefilepos" of each assets as they are connected together with a chain, if you brake that chain, like hijacking my app and change its images then rerelease it under a different name or something it will fail because it is still searching for the right Index and file pos, by making 2 apps one for the indexing and one for release to the public it will be much harder to handle reverse engineering.
It is.not something that cannot be hacked but it will give pain to the ones who tries.
I can also see a lot of different usability for this.