Exemple #1
0
def small_fLoc_test2():
    s1 = "la bla  Amsterdam test"
    s2 = "la Amsterdam test"
    f = fEntityLocator()
    print f(s1, s2, [["Amsterdam", 3, -1, 1]])
Exemple #2
0
def small_fLoc_test1():
    s1 = "la bla  Amsterdam test"
    s2 = "la/O bla/O Amsterdam/LOC test/O"
    f = fEntityLocator()
    print f(s1, s2, [["Amsterdam", 11, -1, 1]])