Universe

PatternOmatic

Finds linguistic patterns effortlessly

Discover spaCy's linguistic patterns matching a given set of String samples to be used by the spaCy's Rule Based Matcher

Example

from PatternOmatic.api import find_patterns samples = ['I am a cat!', 'You are a dog!', 'She is an owl!'] patterns_found, _ = find_patterns(samples) print(f'Patterns found: {patterns_found}')

Author info

Miguel Revuelta Espinosa

GitHubrevuel/PatternOmatic

Categories scientific research standalone

Submit your project

If you have a project that you want the spaCy community to make use of, you can suggest it by submitting a pull request to the spaCy website repository. The Universe database is open-source and collected in a simple JSON file. For more details on the formats and available fields, see the documentation. Looking for inspiration your own spaCy plugin or extension? Check out the project idea label on the issue tracker.

Read the docsJSON source