This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hai, I have code related to Byte Pair encoding. It is specific to C and C++ languages. Is it possible to get the Java code. It will be helpful for me to proceed further on my work. I tried porting the code from c to Java, but i have faced problem with the length available in C & java for character. In java it takes 2 bytes but in C it is one. I have been trying to get the working code for Java. But till now i didn't get the proper one. Please help me. http://www.csse.monash.edu.au/cluster/RJK/Compress/problem.html http://www.csse.monash.edu.au/cluster/RJK/Compress/bpe.c (for byte pair encoding example code in c) Regards B.Rajesh
Hi Raj, Welcome to JavaRanch. Are you having trouble reading the bytes from a file or processing the bytes once read? If you could explain your problem a little more and perhaps post the java code that is giving you grief, maybe we can help you out. Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher