# 基本概念 text normalization: Regular expressions can be used to specify strings we might want to extract from a document, to defining strings like $199 or $24.99 for extracting tables of prices from a document. 用正则表达式,从文档中提取出来的集合,文本规范化。 tokenization: English words are often separated from each...
# 交换排序 # 冒泡排序 思路:从底部开始,两两比较,最小的上浮冒泡。 代码: public class BubbleSort { int[] array; public BubbleSort(int[] array) { this.array = array; } public void sort() { int i, j; for (i = 0; i < array.length - 1; i++) { // 1. 从尾部(底部)开始 for (j = array.length -...