Ray HsuSorter in JavaIf you define an object Person, and you want to sort its instances by age (from old to young) then by name (from a to z), how do you do…Jan 22, 2022Jan 22, 2022
Ray HsuSerialize LocalDate by ObjectMapperYou may define an object in Java, which include LocalDate and/or LocalDateTime. When you try to use ObjectMapper to convert it to/from…Dec 25, 2021Dec 25, 2021
Ray HsuJava collection filtering with StreamAssuming you define an object like this in Java:Nov 25, 2021Nov 25, 2021
Ray HsuHow to implement a parser in JavaIf you want to parse some texts, and your programming language is Java, how are you going to do it? I’ll use 3 libraries as examples to…Nov 25, 2021Nov 25, 2021
Ray HsuTagging and LemmatizationPart-of-speech tagging and lemmatization are the foundations of most language processing applications. For languages like CJK, segmentation…Nov 25, 2021Nov 25, 2021
Ray HsuCorpus and LexiconCorpus and lexicon are extremely useful in most natural language processing applications. Here are some resources you may want to have a…Nov 25, 2021Nov 25, 2021