Skip to content

Commit

Permalink
Added link to MWE syntax notes
Browse files Browse the repository at this point in the history
  • Loading branch information
apmoore1 committed May 4, 2022
1 parent 9b63279 commit 39b88ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/docs/api/lexicon_collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,8 @@ This collection allows users to:
2. Find strings that match MWE templates taking into account
any special syntax rules that should be applied, e.g. wildcards allow zero
or more characters to appear after the word token and/or Part Of Speech (POS) tag.
For more information on the MWE special syntax rules see the following notes.
For more information on the MWE special syntax rules see the following
[notes](/usage/notes/mwe_syntax).
3. POS mapping, it can find strings that match MWE templates while taking
into account mapping from one POS tagset to another in both a one to one and
one to many mapping.
Expand Down Expand Up @@ -660,7 +661,7 @@ will be empty.
This method applies all of the special syntax rules that should be applied
e.g. wildcards allow zero or more characters to appear after the word
token and/or Part Of Speech (POS) tag. For more information on the MWE
special syntax rules see the following notes.
special syntax rules see the following [notes](/usage/notes/mwe_syntax).

<h4 id="mwe_match.parameters">Parameters<a className="headerlink" href="#mwe_match.parameters" title="Permanent link">&para;</a></h4>

Expand Down
5 changes: 3 additions & 2 deletions pymusas/lexicon_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ class MWELexiconCollection(MutableMapping):
2. Find strings that match MWE templates taking into account
any special syntax rules that should be applied, e.g. wildcards allow zero
or more characters to appear after the word token and/or Part Of Speech (POS) tag.
For more information on the MWE special syntax rules see the following notes.
For more information on the MWE special syntax rules see the following
[notes](/usage/notes/mwe_syntax).
3. POS mapping, it can find strings that match MWE templates while taking
into account mapping from one POS tagset to another in both a one to one and
one to many mapping.
Expand Down Expand Up @@ -566,7 +567,7 @@ def mwe_match(self, mwe_template: str, mwe_type: LexiconType
This method applies all of the special syntax rules that should be applied
e.g. wildcards allow zero or more characters to appear after the word
token and/or Part Of Speech (POS) tag. For more information on the MWE
special syntax rules see the following notes.
special syntax rules see the following [notes](/usage/notes/mwe_syntax).
# Parameters
Expand Down

0 comments on commit 39b88ae

Please sign in to comment.