Skip to content

Commit

Permalink
link fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
karlstroetmann committed Sep 28, 2024
1 parent fffbf33 commit bf06ffe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified Lecture-Notes/formal-languages.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions Lecture-Notes/ply-lex.tex
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ \section{Scanner States}
Sometimes, regular expressions are not quite enough and it is beneficial for the scanner to have different
states. The following example illustrates this. We will develop a program that is able to convert an
\textsc{Html} file into a pure text file. This program is actually quite useful: Some years ago I
had a student that was blind. If he read a web page, he would use his Braille display. For him,
had a student who was blind. If he read a web page, he would use his Braille display. For him,
the \textsc{Html} markup was of no use so if the markup was removed, he could read web pages faster.
In order to develop the program to remove \textsc{Html} tags, we have to use \blue{scanner states}.
\index{scanner states} The idea behind scanner states is that the scanner can use different regular
Expand All @@ -329,7 +329,7 @@ \section{Scanner States}
switching between them. The following notebook shows how this can be done:
\\[0.2cm]
\hspace*{0.3cm}
\href{https://github.com/karlstroetmann/Formal-Languages/blob/master/Python/Chapter-3/Html2Text.ipynb}{https://github.com/karlstroetmann/Formal-Languages/blob/master/Python/Chapter-3/Html2Text.ipynb}
\href{https://github.com/karlstroetmann/Formal-Languages/blob/master/Python/Chapter-03/04-Html2Text.ipynb}{https://github.com/karlstroetmann/Formal-Languages/blob/master/Python/Chapter-03/04-Html2Text.ipynb}
\\

\exerciseEng
Expand Down

0 comments on commit bf06ffe

Please sign in to comment.