) This post is to spark inspiration. Everyone can expand their thinking and interactively participate in batch processing learning~:)
)
For example: E.Bat computer
Result: Computer Computer
Rules: There are not too many rules.
The main thing is to make DOS batch processing help us live better in a more efficient way!
Let DOS batch processing complete some practical query work that can be done in the command line - translating words we don't understand.
Currently, there is no pure DOS batch processing word translation system internationally (don't ask why, hehe...).
The pure DOS batch processing word translation comes from fun, challenge, interest, innovation and ultimately practical ideas.
Imagine with me:
When I see some beautiful words and I don't understand them, so I type e net in the DOS command window and press Enter,
The system prompts me: net Network, "Oh! I understand"!
In 2008, the whole people learn English for the Olympics. We think it is more important to have a word translation system born under the DOS batch processing script!
This will be the purest gift for the Olympics and cn-dos.net and all DOS enthusiasts! It is completely implemented with batch processing!
... A certain newspaper carried a news:
A few great experts, using a most primitive batch processing, developed an unimaginable word translation system...
Let's take it as a challenge~:)
Good ideas and excellent algorithms are only a matter of implementation. It doesn't matter what language is used. It is all-purpose.
Thinking: This is ultimately a problem of implementation methods and algorithms. Many word translation software require extremely high efficiency to retrieve words.
If there are 200,000 words, enumerating 200,000 possible records one by one with for /f... is simply...
However, if words are divided into 26 initial letter regions by A-Z,
that is, the retrieval range is precisely reduced to a smaller range, and some algorithms can be carried out within this range...
The English word translation system developed by pure batch processing is an impossible task for DOS batch processing outsiders or semi-knowledgeable batch processing netizens!
Actually, it seems that we give %1 a parameter: "Internet", and then the batch processing code automatically translates it into: Internet
It seems simple, but actually it is not simple at all:
The fastest retrieval algorithm
Do we need auxiliary marks to implement the fastest retrieval algorithm?
What is this mark like encoding? How to use some special places of batch processing and auxiliary marks to achieve as convenient retrieval as possible?
The challenge of searching, locating and extracting tens of thousands of vocabulary
Are these feasible? Feasible. I reached the conclusion of feasibility after thinking for a few days and doing simple tests of 60,000 lines of for and for..skip, etc.
Materials: You can refer to ready-made word banks, etc. Generally, there are text word bank files based on "word translation content of the word" and so on.
Because the algorithms are different, the formats of the word banks are also different. Early word translation software even used foxpro and now databases for retrieval.
(I don't have the word bank for the time being. If there is, I will upload it later:))
(If you find it, please let everyone share the download address)
Purpose: Expand thinking, increase interest in batch processing, increase everyone's interactive learning and hands-on play,
Through our continuous interaction, let everyone participate in the use of batch processing and make progress together~:)
Direction: This is only one of the contents. More contents need netizens to discover together and moderators to support~:)
Everyone can implement the above problems with any whimsical ideas~:)
Why this post appears: Only by interacting and everyone participating can one's level improve faster.
Change the way of only asking when encountering problems and not actively learning batch processing usually into everyone actively improving step by step together~:)
We are for innovation! We live for innovating this new world!
Reward: Excellent problem-solving and problem-solving with different ideas will be guided and demonstrated by the moderator like a god,
Then add points to everyone as an incentive~:)
Other: Waiting for everyone to have better ideas and very practical interactive learning and application topics, everyone to participate together~:)
====================================
Previous issue reference:
http://www.cn-dos.net/forum/viewthread.php?tid=23568&fpage=1
Hope that every day we live innovatively for our dreams!
Moved: After the careful creation and development of several moderators and experts, batch processing solved the floating-point operations,
And the moderators and several experts innovatively completed the theoretical infinite carry algorithm mechanism, which is very wonderful!
Gained: In the most primitive and basic environment without more class libraries or function libraries,
We can use algorithms and innovative ideas to solve some things that only functions can complete in ordinary advanced programming!
Theoretically speaking: These complex operation processes completed with the simplest instructions are excellent!
This idea can be applied to the development of any language, and has already surpassed those ordinary programmers.
Through the simulation and merging calculation of bottom-level carry and the way of inserting floating-point markers,
It has long surpassed those most programmers who can't live without function libraries or class libraries~:)
====================================
The above ideas are only a fun and innovative suggestion, and it is dedicated to every enthusiast who loves batch processing~:)
====================================
Explanation of the dictionary conversion tool and part of the index is provided by Moderator Wunaihe on floor 10~:)
====================================
[ Last edited by redtek on 2006-10-10 at 23:56 ]

DigestI