Skip to content

Commit

Permalink
Add little comment about configuration in bspMorph
Browse files Browse the repository at this point in the history
  • Loading branch information
LFDM committed May 9, 2014
1 parent b5da179 commit fd5113c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/js/arethusa.morph/bsp_morph_retriever.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ angular.module('arethusa.morph').service('bspMorphRetriever', function($resource
// don't want and need. Flatten it to a plain expression.
// The same goes for part of speech.
flattenAttributes(form, ['case', 'pofs']);

// These renaming stuff could probably be configurable...
renameAttributes(form, {'pofs': 'pos'});
renameValues(form, { 'pos' : ['verb\nparticiple', 'participle']});

Expand Down

0 comments on commit fd5113c

Please sign in to comment.