465e3da40350f30c2ef965b72531fb33666fa388,tests/test_extract.py,,test_noun_chunks,#Any#,235

Before Change


        "education",
        "Middle East",
    ]
    observed = [
        nc.text for nc in extract.noun_chunks(spacy_doc, drop_determiners=True)
    ][:10]
    assert observed == expected


def test_noun_chunks_determiner(spacy_doc):

After Change




def test_noun_chunks(spacy_doc):
    result = list(extract.noun_chunks(spacy_doc))
    assert all(isinstance(span, SpacySpan) for span in result)


def test_noun_chunks_determiner(spacy_doc):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: chartbeat-labs/textacy
Commit Name: 465e3da40350f30c2ef965b72531fb33666fa388
Time: 2019-03-20
Author: burtdewilde@gmail.com
File Name: tests/test_extract.py
Class Name:
Method Name: test_noun_chunks


Project Name: chartbeat-labs/textacy
Commit Name: 465e3da40350f30c2ef965b72531fb33666fa388
Time: 2019-03-20
Author: burtdewilde@gmail.com
File Name: tests/test_extract.py
Class Name:
Method Name: test_noun_chunks_determiner


Project Name: chartbeat-labs/textacy
Commit Name: 465e3da40350f30c2ef965b72531fb33666fa388
Time: 2019-03-20
Author: burtdewilde@gmail.com
File Name: tests/test_extract.py
Class Name:
Method Name: test_noun_chunks_min_freq