View allennlp_srl.py
"""
Usage:
python allennlp_srl.py \
https://s3-us-west-2.amazonaws.com/allennlp/models/srl-model-2017.09.05.tar.gz \
examples.json
Note:
each line in examples.json is one sentence, such as:
Which NFL team represented the AFC at Super Bowl 50?
Where did Super Bowl 50 take place?
View MergeSort.java
/**
* Created by lan2720 on 15/11/10.
*/
public class MergeSort {
public static void merge_1(int[] A, int p, int q, int r){
/**
* 这种merge使用了哨兵
*/
// get the number of integer of each subArray
int n1 = q - p + 1;