      assert lex_ids[0] != lex_ids[1]
  
  
  def test_punct():
      lex_ids = tokenize('hello, possums.')
      assert len(lex_ids) == 4
      assert lex_ids[0] != lookup('hello')
      assert lex_of(lex_ids[0]) == lex_of(lookup('hello'))
      assert lex_ids[2] == lookup('possums.')
      assert lex_of(lex_ids[2]) == lex_of(lookup('possums.'))
      assert lex_of(lex_ids[2]) == lex_of(lookup('possums'))
      assert lex_of(lex_ids[1]) != lex_of(lookup('hello'))
      assert lex_ids[0] != lookup('hello.')
  
  
  def test_digits():
      lex_ids = tokenize('The year: 1984.')
      assert len(lex_ids) == 5
 
</s> remove     chunk, lex, pieces = aint
 </s> add     chunk, pieces = aint </s> remove     assert lex == "are"
    assert pieces == ["not"]
 </s> add     assert pieces[0] == "are"
    assert pieces[1] == "not" </s> remove         tokens = expand_chunk(lookup(string))
 </s> add         tokens = tokenize(string) </s> remove         token = lookup(string)
        assert unhash(lex_of(token)) == p
        tokens = expand_chunk(token)
 </s> add         tokens = tokenize(string) </s> remove     tokens = expand_chunk(lookup("schools'"))
 </s> add     tokens = tokenize("schools'")
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
      assert lex_ids[0] != lex_ids[1]
  
  
  def test_punct():
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
    tokens = tokenize('hello, possums.')
    assert len(tokens) == 4
    assert lex_of(tokens[0]) == lex_of(lookup('hello'))
    assert lex_of(tokens[1]) == lex_of(lookup(','))
    assert lex_of(tokens[2]) == lex_of(lookup('possums'))
    assert lex_of(tokens[1]) != lex_of(lookup('hello'))
  
  
  def test_digits():
      lex_ids = tokenize('The year: 1984.')
      assert len(lex_ids) == 5
keep keep keep keep replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 * Refactor spacy so that chunks return arrays of lexemes, so that there is properly one lexeme per word. 
tests/test_tokenizer.py