Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
# Conflicts:
#	src/utils/comp_split_german.py
  • Loading branch information
Jason Liartis committed Jan 17, 2025
2 parents 3ea8c51 + ff0c1c7 commit 327d52e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/custom_processors/dutch_compound_noun_splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@


@register_processor('dutch_compound_noun_splitter')
class GermanCompNounSplitterProcessor(Processor):
class DutchCompNounSplitterProcessor(Processor):
_requires = {'tokenize', 'pos', 'delayedlemma'}
_provides = {'splitter'}

Expand Down
2 changes: 1 addition & 1 deletion src/custom_processors/standardize.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


@register_processor('standardize')
class GermanCompNounSplitterProcessor(Processor):
class StandardizeProcessor(Processor):
_requires = {'tokenize', 'pos', 'ner'}
_provides = {'standardize'}

Expand Down
2 changes: 2 additions & 0 deletions src/utils/comp_split_dutch.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Original code and license:
#
# This work is licensed under the Creative Commons Attribution 4.0 International License.
# To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/
# or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
#
# Copyright 2020 by repodiac (see https://github.com/repodiac, also for information how to provide attribution to this work)
#
# Some modifications have been made
import re
from collections import defaultdict

Expand Down
2 changes: 2 additions & 0 deletions src/utils/comp_split_german.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Original code and license:
#
# This work is licensed under the Creative Commons Attribution 4.0 International License.
# To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/
# or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.
#
# Copyright 2020 by repodiac (see https://github.com/repodiac, also for information how to provide attribution to this work)
#
# Some modifications have been made
from collections import defaultdict

import ahocorasick
Expand Down

0 comments on commit 327d52e

Please sign in to comment.