{"id":{"repo_id":"vilnius","oai_identifier":"oai:vu.lt:elaba:239025537"},"canonical_url":"https://search.ndltd.org/etd/vilnius/oai:vu.lt:elaba:239025537","repository":{"repo_id":"vilnius","name":"Vilnius University","base_url":"https://epublications.vu.lt/oai"},"display":{"title":"Kintamo ilgio kodai /","abstract":"The paper examines variable-length codes which are used to encode non-negative integers. More specifically, Elias gamma, delta, omega, Fibonacci, Goldbach G0, G1, G2 codes have been implemented. The average codeword lengths of these codes are compared when the probabilities of non-negative integers are distributed according to the Poisson, geometric and zeta distributions. It was determined how the average codeword lengths of these codes change depending on the parameters of the distributions. Conclusions have been made about which code is best in which situations. Then a program was created that was able to determine which of the analyzed distributions the encoded file was closest to using the method of moments and the total variation distance. From that it could decide which of the analyzed variable-length codes would compress the file best. Using Recency Rank encoding and the selected variable-length code it was able to encode the given file and also decode it. Files from the Canterbury Corpus dataset were encoded and conclusions were drawn about the accuracy of the code selection algorithm.","abstract_html":"The paper examines variable-length codes which are used to encode non-negative integers. More specifically, Elias gamma, delta, omega, Fibonacci, Goldbach G0, G1, G2 codes have been implemented. The average codeword lengths of these codes are compared when the probabilities of non-negative integers are distributed according to the Poisson, geometric and zeta distributions. It was determined how the average codeword lengths of these codes change depending on the parameters of the distributions. Conclusions have been made about which code is best in which situations. Then a program was created that was able to determine which of the analyzed distributions the encoded file was closest to using the method of moments and the total variation distance. From that it could decide which of the analyzed variable-length codes would compress the file best. Using Recency Rank encoding and the selected variable-length code it was able to encode the given file and also decode it. Files from the Canterbury Corpus dataset were encoded and conclusions were drawn about the accuracy of the code selection algorithm.","abstract_has_math":false,"creators":["Stančius, Eigirdas,"],"institution":"Institutional Repository of Vilnius University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025","date_published":"2025","updated_at":"2026-11-19T10:03:25Z","subjects":[],"languages":["lit"],"rights":["info:eu-repo/semantics/openAccess"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.vu.lt/VU:ELABAETD239025537&prefLang=en_US","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.vu.lt/VU:ELABAETD239025537&prefLang=en_US","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":"open","embargo_until":null,"access_note":null},"source_record":{"url":"https://epublications.vu.lt/oai?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Avu.lt%3Aelaba%3A239025537","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Stančius, Eigirdas,"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025"]},{"key":"dc:publisher","label":"Institution","values":["Institutional Repository of Vilnius University"]},{"key":"dc:relation","label":"Dc Relation","values":["https://epublications.vu.lt/object/elaba:239025537/239025537.pdf"]},{"key":"dc:type","label":"Dc Type","values":["info:eu-repo/semantics/bachelorThesis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["lit"]},{"key":"dc:rights","label":"Dc Rights","values":["info:eu-repo/semantics/openAccess"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.vu.lt/VU:ELABAETD239025537&prefLang=en_US"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["The paper examines variable-length codes which are used to encode non-negative integers. More specifically, Elias gamma, delta, omega, Fibonacci, Goldbach G0, G1, G2 codes have been implemented. The average codeword lengths of these codes are compared when the probabilities of non-negative integers are distributed according to the Poisson, geometric and zeta distributions. It was determined how the average codeword lengths of these codes change depending on the parameters of the distributions. Conclusions have been made about which code is best in which situations. Then a program was created that was able to determine which of the analyzed distributions the encoded file was closest to using the method of moments and the total variation distance. From that it could decide which of the analyzed variable-length codes would compress the file best. Using Recency Rank encoding and the selected variable-length code it was able to encode the given file and also decode it. Files from the Canterbury Corpus dataset were encoded and conclusions were drawn about the accuracy of the code selection algorithm."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Kintamo ilgio kodai /","Variable-Length codes."]}]}],"canonical_facts":{"dc:creator":["Stančius, Eigirdas,"],"dc:date":["2025"],"dc:description":["The paper examines variable-length codes which are used to encode non-negative integers. More specifically, Elias gamma, delta, omega, Fibonacci, Goldbach G0, G1, G2 codes have been implemented. The average codeword lengths of these codes are compared when the probabilities of non-negative integers are distributed according to the Poisson, geometric and zeta distributions. It was determined how the average codeword lengths of these codes change depending on the parameters of the distributions. Conclusions have been made about which code is best in which situations. Then a program was created that was able to determine which of the analyzed distributions the encoded file was closest to using the method of moments and the total variation distance. From that it could decide which of the analyzed variable-length codes would compress the file best. Using Recency Rank encoding and the selected variable-length code it was able to encode the given file and also decode it. Files from the Canterbury Corpus dataset were encoded and conclusions were drawn about the accuracy of the code selection algorithm."],"dc:format":["application/pdf"],"dc:identifier":["https://repository.vu.lt/VU:ELABAETD239025537&prefLang=en_US"],"dc:language":["lit"],"dc:publisher":["Institutional Repository of Vilnius University"],"dc:relation":["https://epublications.vu.lt/object/elaba:239025537/239025537.pdf"],"dc:rights":["info:eu-repo/semantics/openAccess"],"dc:title":["Kintamo ilgio kodai /","Variable-Length codes."],"dc:type":["info:eu-repo/semantics/bachelorThesis"]},"updated_at":"2026-11-19T10:03:25Z"}