Skip to content

Add spaCy support for MorphMan #162

Description

@rteabeault

I have started working on an addition to MorphMan that would add spaCy enabled Morphemizers. There are currently trained spaCy models for zh, da, nl, en, fr, de, el, it, ja, lt, mb, pl, pt, ro, and es. And as new language models are added they would also be available for this addon. spaCy would be a great alternative to both the Languages with Spaces as well as the existing Japanese and Chinese support included with MorphMan. Here is an example of spaCy output showing the parsed word and the base (lemmatized) form.

Expression: Eher ziehe ich wieder zu meinen Eltern, als einen Tag länger bei dir zu wohnen.

Word Base
Eher Eher
ziehe ziehen
ich ich
wieder wieder
zu zu
meinen mein
Eltern Eltern
, ,
als als
einen ein
Tag Tag
länger lang
bei bei
dir sich
zu zu
wohnen wohnen
  1. Would the maintainers of MorphMan be interested in spaCy support?
  2. Would it be acceptable to include spaCy and its dependencies in the deps dir? That would be about 170MB.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions