Errata

Practical Artificial Intelligence with Swift

Errata for Practical Artificial Intelligence with Swift

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
Page 20
1st paragraph

Link ending 31aSjug doesn't exist.
And please modify your submitting errata form to accept urls.
Otherwise how to report about broken URLs?

Note from the Author or Editor:
The Bitly link that ORM generated goes to https://www.oreilly.com/ideas/what-aremodelgovernance-
and-model-operations when it should go to [Error https://www.oreilly.com/
ideas/what-are-model-governance-and-model-operations (note the extra - in the correct
link).

Valeriy Van  Feb 12, 2020 
Printed
Page 23
frist note

hxxp://bit.ly/2VDqbPw is not available.
(xx->tt because of the form security)

Note from the Author or Editor:
The Bitly link that ORM generated goes to httxs://venturebeat.com/2018/06/05/applescore-
ml-2-vs-googles-ml-kitwhats-the-difference/ when it should go to htxps://
venturebeat.com/2018/06/05/apples-core-ml-2-vs-googles-ml-kitwhats-the-difference/
(note the extra - in the correct link).

RBK  Dec 02, 2019 
Printed
Page 32
2nd paragraph

in 2nd paragraph:

The CreateML framework was the original incarnation of CreateML and was announced by Apple at its WWDC conference in 2018.


do you mean "CoreML"?

Note from the Author or Editor:
No, we mean CreateML. We’re talking about the CreateML framework in comparison to the newer CreateML app.

Perhaps the sentence could change to “The CreateML framework (as opposed to the newer CreateML app) was the original incarnation of CreateML and was announced by Apple at its WWDC conference in 2018.

RBK  Dec 03, 2019 
Printed
Page 152
1st paragraph


This section should be talking about building a drawing app, however, it references to the face detecting app. and the "Text" control is designed to display the count of faces?

Note from the Author or Editor:
The line “The final form of the app we’re going to build to count faces can be seen earlier, in Figure 4-1; it consists of the following SwiftUI components:” should say “The final form of the app we’re going to build to detect drawings can be seen earlier, in Figure 4-1; it consists of the following SwiftUI components:”

RBK  Dec 09, 2019 
Printed
Page 153
4nd paragraph


the http link hhttps://apple.co/ 2otBgGV

the "h" may be doubled?

Note from the Author or Editor:
Yes, looks like the h is doubled in the URL, and the link is not typesetting correctly

RBK  Dec 09, 2019 
Printed
Page 154
3 paragraph


Does the code for enum Drawing been doubled??

Note from the Author or Editor:
Yes, the code has been doubled. The code listing here (at point 8 in the numbered list) should start with:

enum Drawing: String, CaseIterable {

and end after:
case .watermelon: return “EMOJIHERE"
}
}
}

Please make sure the watermelon emoji are rendered in all cases throughout the book.

RBK  Dec 09, 2019 
Printed
Page 203
last paragraph

the step index are incorrect

1.Drag...
2.Add...
1.Add...
2.Add...
3.Change...
should be 3, 4 and 5

Note from the Author or Editor:
Yes, the numbering is wrong on the steps. It starts the numbering again after step 2 instead of continuing.

RBK  Dec 11, 2019 
Printed
Page 213
5nd paragraph

Lemmatization, tagging, tokenization Identifying the lemma of every word in a string, finding the parts of speech (verbs, nouns, and so on), and splitting a string up by words.

why the "Identifying" with capital "I"?

Note from the Author or Editor:
There should be a line break after the “Lemmatization, tagging, tokenization” and then
“Identifying the lemma of every word in a string, finding the parts of speech (verbs, nouns,
and so on), and splitting a string up by words.” should be indented.

RBK  Dec 11, 2019 
Printed
Page 213
5nd paragraph

Lemmatization, tagging, tokenization Identifying the lemma of every word in a string, finding the parts of speech (verbs, nouns, and so on), and splitting a string up by words.

should relayout as

Lemmatization, tagging, tokenization
Identifying the lemma of every word in a string, finding the parts of speech (verbs, nouns, and so on), and splitting a string up by words.


Lemmatization, tagging, tokenization is a task name

Note from the Author or Editor:
There should be a line break after the “Lemmatization, tagging, tokenization” and then
“Identifying the lemma of every word in a string, finding the parts of speech (verbs, nouns,
and so on), and splitting a string up by words.” should be indented.

RBK  Dec 11, 2019 
Printed
Page 218
Figure 6-4

Figure 6-4. The language identification for our strings

it is the result of named entity recognition, not language identification....

Note from the Author or Editor:
Caption for Figure 6-4 should say “The named entities in our string.”

RBK  Dec 11, 2019 
Printed
Page 425
last paragraph

And behold, our output corresponds to (a thumb down)


there is no thumb down in this example, how does it get the output corresponds to (a thumb down)

Note from the Author or Editor:
Line should say “And behold, our output corresponds to a fruit.”

RBK  Dec 18, 2019