phamlequang / vietnamese-synthesis-system

Automatically exported from code.google.com/p/vietnamese-synthesis-system
0 stars 0 forks source link

Implement binary encoding #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Implement chức năng encode/decode và ghi file binary sử dụng các 
phương pháp nén khác nhau như: 
Omega coding, Delta coding, Unary coding, gamma coding.

Chức năng này sẽ được sử dụng để xây dựng các loại 
database cần thiết, đặc biệt là recorded database.

Original issue reported on code.google.com by quangpl0...@fpt.edu.vn on 10 Jun 2013 at 4:12

GoogleCodeExporter commented 8 years ago
Đây là mô tả về các loại nén binary đã được implement.
http://code.google.com/p/vietnamese-synthesis-system/wiki/BinaryEncoding

Tiếp theo sẽ sử dụng nó để tổ chức lại recorded database 
dưới dạng binary thay vì xml như hiện nay.

Original comment by quangpl0...@fpt.edu.vn on 13 Jun 2013 at 10:27

GoogleCodeExporter commented 8 years ago
Recorded database đã được chuyển sang dạng Binary. Dung lượng 
giảm đi từ hơn 6MB còn tầm 1.5MB, tốc độ load lên cũng giảm 
được từ 3s về chưa tới 1s.

Về cấu trúc của binary database, xem trong file đính kèm. Tất cả 
các số nguyên đều được mã hoá bằng Omega coding, với string 
thì được chuyển sang dạng wchar_t rồi cũng mã hoá bằng Omega 
coding. Tài liệu này anh Thuyên cần lưu lại để dùng cho việc 
viết Design Documents.

Original comment by quangpl0...@fpt.edu.vn on 15 Jun 2013 at 3:06

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by quangpl0...@fpt.edu.vn on 25 Jun 2013 at 12:07