11-10 Arrays

I dont know whats wrong with it, but it says the method compareTo is not applicable for the scanner?  
these are the errors i get
7 errors found:
File: C:\Users\Tanvi Nayak\AppData\Local\Temp\Temp1_11-10-ArrayLists-master (1).zip\11-10-ArrayLists-master\WordCount.java  [line: 73]
Error: The method toLowerCase(java.util.Locale) in the type java.lang.String is not applicable for the arguments (java.util.Scanner)
File: C:\Users\Tanvi Nayak\AppData\Local\Temp\Temp1_11-10-ArrayLists-master (1).zip\11-10-ArrayLists-master\WordCount.java  [line: 79]
Error: The left-hand side of an assignment must be a variable
File: C:\Users\Tanvi Nayak\AppData\Local\Temp\Temp1_11-10-ArrayLists-master (1).zip\11-10-ArrayLists-master\WordCount.java  [line: 103]
Error: Syntax error on token ".", delete this token
File: C:\Users\Tanvi Nayak\AppData\Local\Temp\Temp1_11-10-ArrayLists-master (1).zip\11-10-ArrayLists-master\WordCount.java  [line: 103]
Error: Syntax error on token ">", Expression expected after this token
File: C:\Users\Tanvi Nayak\AppData\Local\Temp\Temp1_11-10-ArrayLists-master (1).zip\11-10-ArrayLists-master\WordCount.java  [line: 105]
Error: Syntax error on token ";", delete this token
File: C:\Users\Tanvi Nayak\AppData\Local\Temp\Temp1_11-10-ArrayLists-master (1).zip\11-10-ArrayLists-master\WordCount.java  [line: 106]
Error: Syntax error on token ";", delete this token
File: C:\Users\Tanvi Nayak\AppData\Local\Temp\Temp1_11-10-ArrayLists-master (1).zip\11-10-ArrayLists-master\WordCount.java  [line: 118]
Error: Syntax error on token "}", delete this token