SlideShare a Scribd company logo
2
Most read
5
Most read
6
Most read
GANDHINGAR INSTITUTE OF TECHNOLOGY
INFORMATION TECHNOLOGY DEPARTMENT
Data Compression and Data Retrieval (2161603)
STATIC DICTIONARY
TECHNIQUE
Enrollment no: 150120116047
Name: Prince Paneliya
Guided By: Prof. Alpa Oza
Dictionary Coding
• Dictionary coding is different from Huffman coding and arithmetic
coding.
• Both Huffman and arithmetic coding techniques are based on a
statistical model .
• A dictionary is a list of symbols and strings of symbols.
• Dictionary coding is widely used in text coding.
• The strategy of the dictionary coding is to build a dictionary that
contains frequently occurring symbols and string of symbols.
• When a symbol or a string is encountered and it is contained in the
dictionary, it is encoded with an index to the dictionary.
• Otherwise, if not in the dictionary, the symbol or the string of symbols
is encoded in a less efficient manner.
Formulation of Dictionary Coding
 Define dictionary coding in a precise manner
• We denote a source alphabet by S.
• A dictionary consisting of two elements is defined as D=(P , C,)
 P is a finite set of phrases generated from the S,
 C is a coding function mapping P onto a set of codewords.
Static Dictionary Coding
A fixed dictionary,
• Produced before the coding process
• Used at both the transmitting and receiving ends
• It is possible when the knowledge about the source alphabet
and the related strings of symbols, also known as phrases, is
sufficient.
• An example of static algorithms occurs is diagram coding.
• A simple and fast coding technique.
• In encoding, two symbols are checked at once to see if they are in the
dictionary.
• If so, they are replaced by the index of the two symbols in the
dictionary, and the next pair of symbols is encoded in the next step.
• If not, then the index of the first symbol is used to encode the first
symbol. The second symbol is combined with the third symbol to
form a new pair, which is encoded in the next step.
• The diagram can be straightforwardly extended to n-gram. In the
extension, the size of the dictionary increases and so is its coding
efficiency.
Thank You

More Related Content

What's hot (20)

PDF
Unit 5 Quantization
Dr Piyush Charan
 
PPTX
Bit plane coding
priyadharshini murugan
 
PPT
Digital Communication: Channel Coding
Dr. Sanjay M. Gulhane
 
PDF
Image Restoration (Digital Image Processing)
Kalyan Acharjya
 
PPT
Pcm
srkrishna341
 
PPT
PULSE CODE MODULATION (PCM)
vishnudharan11
 
PDF
Information Theory - Introduction
Burdwan University
 
PPTX
Shannon Fano
anithabalaprabhu
 
PPT
UNIT-3 : CHANNEL CODING
abhishek reddy
 
PPSX
Color Image Processing: Basics
Dr. A. B. Shinde
 
PPTX
LZ77 and LZ78 Compression Algorithms
Mustafa GÖKÇE
 
DOCX
Analog-to Digital Conversion
wajahat Gul
 
PPTX
Channel capacity
PALLAB DAS
 
PPT
Data compression
VIKAS SINGH BHADOURIA
 
PPTX
spread spectrum communication
abhishek reddy
 
PPTX
Pulse code modulation (PCM)
Mahima Shastri
 
PPTX
Windowing ofdm
Sreeram Reddy
 
PPT
vector QUANTIZATION
aniruddh Tyagi
 
PDF
4.Sampling and Hilbert Transform
INDIAN NAVY
 
PPTX
Introduction for Data Compression
MANISH T I
 
Unit 5 Quantization
Dr Piyush Charan
 
Bit plane coding
priyadharshini murugan
 
Digital Communication: Channel Coding
Dr. Sanjay M. Gulhane
 
Image Restoration (Digital Image Processing)
Kalyan Acharjya
 
PULSE CODE MODULATION (PCM)
vishnudharan11
 
Information Theory - Introduction
Burdwan University
 
Shannon Fano
anithabalaprabhu
 
UNIT-3 : CHANNEL CODING
abhishek reddy
 
Color Image Processing: Basics
Dr. A. B. Shinde
 
LZ77 and LZ78 Compression Algorithms
Mustafa GÖKÇE
 
Analog-to Digital Conversion
wajahat Gul
 
Channel capacity
PALLAB DAS
 
Data compression
VIKAS SINGH BHADOURIA
 
spread spectrum communication
abhishek reddy
 
Pulse code modulation (PCM)
Mahima Shastri
 
Windowing ofdm
Sreeram Reddy
 
vector QUANTIZATION
aniruddh Tyagi
 
4.Sampling and Hilbert Transform
INDIAN NAVY
 
Introduction for Data Compression
MANISH T I
 

Similar to static dictionary technique (20)

PDF
3a. Context Free Grammar.pdf
TANZINTANZINA
 
PDF
Lexical analysis - Compiler Design
Kuppusamy P
 
PPTX
static dictionary
Paneliya Prince
 
PPTX
Chapter 4.pptx
RanjanaShevkar
 
PPTX
Unitiv 111206005201-phpapp01
riddhi viradiya
 
PPTX
Techniques for reverse engineering lect 7
HibaAmjadSiddiqui
 
PPTX
5. Syntacticfffgffg analysis-Parsing.pptx
NehanTanwar1
 
PPTX
Dhdhddhd5. Syntactic analysis-Parsing.pptx
NehanTanwar1
 
PPTX
Lecture 1 of automata theory where .pptx
arslanahmadkhan295
 
PPTX
Role-of-lexical-analysis
Dattatray Gandhmal
 
PPTX
Types of parsers
Sabiha M
 
PPTX
Supporting the authoring process with linguistic software
vsrtwin
 
PPTX
Compiler lecture 05
University of Chitral
 
PPTX
Compiler lecture 05
University of Chitral
 
PPTX
Lecture 02 lexical analysis
Iffat Anjum
 
PPTX
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
PPT
111111111111111111111111111111111789.ppt
AllamJayaPrakash
 
PPT
111111111111111111111111111111111789.ppt
AllamJayaPrakash
 
PDF
Performance Improvement Of Bengali Text Compression Using Transliteration And...
IJERA Editor
 
PDF
Performance Improvement Of Bengali Text Compression Using Transliteration And...
IJERA Editor
 
3a. Context Free Grammar.pdf
TANZINTANZINA
 
Lexical analysis - Compiler Design
Kuppusamy P
 
static dictionary
Paneliya Prince
 
Chapter 4.pptx
RanjanaShevkar
 
Unitiv 111206005201-phpapp01
riddhi viradiya
 
Techniques for reverse engineering lect 7
HibaAmjadSiddiqui
 
5. Syntacticfffgffg analysis-Parsing.pptx
NehanTanwar1
 
Dhdhddhd5. Syntactic analysis-Parsing.pptx
NehanTanwar1
 
Lecture 1 of automata theory where .pptx
arslanahmadkhan295
 
Role-of-lexical-analysis
Dattatray Gandhmal
 
Types of parsers
Sabiha M
 
Supporting the authoring process with linguistic software
vsrtwin
 
Compiler lecture 05
University of Chitral
 
Compiler lecture 05
University of Chitral
 
Lecture 02 lexical analysis
Iffat Anjum
 
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
111111111111111111111111111111111789.ppt
AllamJayaPrakash
 
111111111111111111111111111111111789.ppt
AllamJayaPrakash
 
Performance Improvement Of Bengali Text Compression Using Transliteration And...
IJERA Editor
 
Performance Improvement Of Bengali Text Compression Using Transliteration And...
IJERA Editor
 
Ad

More from Paneliya Prince (20)

PPTX
140120107044 ins ala.ppt
Paneliya Prince
 
DOCX
To create a web service
Paneliya Prince
 
PPT
Session and state management
Paneliya Prince
 
PPT
Master pages
Paneliya Prince
 
DOCX
Master page
Paneliya Prince
 
DOCX
Managing states
Paneliya Prince
 
PPT
Introduction to ado.net
Paneliya Prince
 
DOCX
Grid view control
Paneliya Prince
 
PPTX
Asp.net validation
Paneliya Prince
 
PPT
Asp.net control
Paneliya Prince
 
DOC
Wt oep visiting card
Paneliya Prince
 
DOCX
SE OEP online car service booking
Paneliya Prince
 
PPTX
creating jdbc connection
Paneliya Prince
 
PPTX
processing control input
Paneliya Prince
 
DOCX
Ajava oep
Paneliya Prince
 
DOC
Ajava oep shopping application
Paneliya Prince
 
PPT
creating jdbc connection
Paneliya Prince
 
PPTX
DCDR
Paneliya Prince
 
PPT
ADO.net control
Paneliya Prince
 
PDF
web technology
Paneliya Prince
 
140120107044 ins ala.ppt
Paneliya Prince
 
To create a web service
Paneliya Prince
 
Session and state management
Paneliya Prince
 
Master pages
Paneliya Prince
 
Master page
Paneliya Prince
 
Managing states
Paneliya Prince
 
Introduction to ado.net
Paneliya Prince
 
Grid view control
Paneliya Prince
 
Asp.net validation
Paneliya Prince
 
Asp.net control
Paneliya Prince
 
Wt oep visiting card
Paneliya Prince
 
SE OEP online car service booking
Paneliya Prince
 
creating jdbc connection
Paneliya Prince
 
processing control input
Paneliya Prince
 
Ajava oep
Paneliya Prince
 
Ajava oep shopping application
Paneliya Prince
 
creating jdbc connection
Paneliya Prince
 
ADO.net control
Paneliya Prince
 
web technology
Paneliya Prince
 
Ad

Recently uploaded (20)

PDF
June 2025 Top 10 Sites -Electrical and Electronics Engineering: An Internatio...
elelijjournal653
 
PDF
How to Buy Verified CashApp Accounts IN 2025
Buy Verified CashApp Accounts
 
PPTX
Stability of IBR Dominated Grids - IEEE PEDG 2025 - short.pptx
ssuser307730
 
PPTX
Artificial Intelligence jejeiejj3iriejrjifirirjdjeie
VikingsGaming2
 
PDF
Module - 5 Machine Learning-22ISE62.pdf
Dr. Shivashankar
 
PPT
FINAL plumbing code for board exam passer
MattKristopherDiaz
 
PDF
A Brief Introduction About Robert Paul Hardee
Robert Paul Hardee
 
PPTX
FSE_LLM4SE1_A Tool for In-depth Analysis of Code Execution Reasoning of Large...
cl144
 
PDF
Plant Control_EST_85520-01_en_AllChanges_20220127.pdf
DarshanaChathuranga4
 
PPSX
OOPS Concepts in Python and Exception Handling
Dr. A. B. Shinde
 
PPTX
Functions in Python Programming Language
BeulahS2
 
PPTX
Unit_I Functional Units, Instruction Sets.pptx
logaprakash9
 
PPTX
UNIT 1 - INTRODUCTION TO AI and AI tools and basic concept
gokuld13012005
 
PPTX
CM Function of the heart pp.pptxafsasdfddsf
drmaneharshalid
 
PDF
Python Mini Project: Command-Line Quiz Game for School/College Students
MPREETHI7
 
PDF
lesson4-occupationalsafetyandhealthohsstandards-240812020130-1a7246d0.pdf
arvingallosa3
 
PDF
輪読会資料_Miipher and Miipher2 .
NABLAS株式会社
 
PDF
Bayesian Learning - Naive Bayes Algorithm
Sharmila Chidaravalli
 
PPTX
Kel.3_A_Review_on_Internet_of_Things_for_Defense_v3.pptx
Endang Saefullah
 
PDF
Artificial Neural Network-Types,Perceptron,Problems
Sharmila Chidaravalli
 
June 2025 Top 10 Sites -Electrical and Electronics Engineering: An Internatio...
elelijjournal653
 
How to Buy Verified CashApp Accounts IN 2025
Buy Verified CashApp Accounts
 
Stability of IBR Dominated Grids - IEEE PEDG 2025 - short.pptx
ssuser307730
 
Artificial Intelligence jejeiejj3iriejrjifirirjdjeie
VikingsGaming2
 
Module - 5 Machine Learning-22ISE62.pdf
Dr. Shivashankar
 
FINAL plumbing code for board exam passer
MattKristopherDiaz
 
A Brief Introduction About Robert Paul Hardee
Robert Paul Hardee
 
FSE_LLM4SE1_A Tool for In-depth Analysis of Code Execution Reasoning of Large...
cl144
 
Plant Control_EST_85520-01_en_AllChanges_20220127.pdf
DarshanaChathuranga4
 
OOPS Concepts in Python and Exception Handling
Dr. A. B. Shinde
 
Functions in Python Programming Language
BeulahS2
 
Unit_I Functional Units, Instruction Sets.pptx
logaprakash9
 
UNIT 1 - INTRODUCTION TO AI and AI tools and basic concept
gokuld13012005
 
CM Function of the heart pp.pptxafsasdfddsf
drmaneharshalid
 
Python Mini Project: Command-Line Quiz Game for School/College Students
MPREETHI7
 
lesson4-occupationalsafetyandhealthohsstandards-240812020130-1a7246d0.pdf
arvingallosa3
 
輪読会資料_Miipher and Miipher2 .
NABLAS株式会社
 
Bayesian Learning - Naive Bayes Algorithm
Sharmila Chidaravalli
 
Kel.3_A_Review_on_Internet_of_Things_for_Defense_v3.pptx
Endang Saefullah
 
Artificial Neural Network-Types,Perceptron,Problems
Sharmila Chidaravalli
 

static dictionary technique

  • 1. GANDHINGAR INSTITUTE OF TECHNOLOGY INFORMATION TECHNOLOGY DEPARTMENT Data Compression and Data Retrieval (2161603) STATIC DICTIONARY TECHNIQUE Enrollment no: 150120116047 Name: Prince Paneliya Guided By: Prof. Alpa Oza
  • 2. Dictionary Coding • Dictionary coding is different from Huffman coding and arithmetic coding. • Both Huffman and arithmetic coding techniques are based on a statistical model . • A dictionary is a list of symbols and strings of symbols. • Dictionary coding is widely used in text coding.
  • 3. • The strategy of the dictionary coding is to build a dictionary that contains frequently occurring symbols and string of symbols. • When a symbol or a string is encountered and it is contained in the dictionary, it is encoded with an index to the dictionary. • Otherwise, if not in the dictionary, the symbol or the string of symbols is encoded in a less efficient manner.
  • 4. Formulation of Dictionary Coding  Define dictionary coding in a precise manner • We denote a source alphabet by S. • A dictionary consisting of two elements is defined as D=(P , C,)  P is a finite set of phrases generated from the S,  C is a coding function mapping P onto a set of codewords.
  • 5. Static Dictionary Coding A fixed dictionary, • Produced before the coding process • Used at both the transmitting and receiving ends • It is possible when the knowledge about the source alphabet and the related strings of symbols, also known as phrases, is sufficient.
  • 6. • An example of static algorithms occurs is diagram coding. • A simple and fast coding technique. • In encoding, two symbols are checked at once to see if they are in the dictionary. • If so, they are replaced by the index of the two symbols in the dictionary, and the next pair of symbols is encoded in the next step.
  • 7. • If not, then the index of the first symbol is used to encode the first symbol. The second symbol is combined with the third symbol to form a new pair, which is encoded in the next step. • The diagram can be straightforwardly extended to n-gram. In the extension, the size of the dictionary increases and so is its coding efficiency.