Version: current

# Class phpMorphy_Morphier_Helper

Located at search/code/phpmorphy/morphiers.php

## Methods summary

`public` | # `__construct( `phpMorphy_GramInfo_Interace` $graminfo, `phpMorphy_GramTab_Interface` $gramtab, `phpMorphy_AncodesResolver_Interface` $ancodesResolver, mixed $resolvePartOfSpeech )`
`public` | # `setAnnotDecoder( `phpMorphy_AnnotDecoder_Interface` $annotDecoder )`
`public` | # `getEndOfString( )`
`public` | # `getCharSize( )`
`public` | # `hasAnnotDecoder( )`
`public` | # `getAnnotDecoder( )`
`public` | # `getAncodesResolver( )`
`public` | # `getGramInfo( )`
`public` | # `getGramTab( )`
`public` | # `isResolvePartOfSpeech( )`
`public` | # `resolvePartOfSpeech( mixed $posId )`
`public` | # `getGrammems( mixed $ancodeId )`
`public` | # `getGrammemsAndPartOfSpeech( mixed $ancodeId )`
`public` | # `extractPartOfSpeech( mixed $annot )`
`protected` | # `includeGramTabConsts( )`
`public` | # `getWordDescriptor( mixed $word, mixed $annots )`
`protected` | # `getBaseAndPrefix( mixed $word, mixed $cplen, mixed $plen, mixed $flen )`
`public` | # `getPartOfSpeech( mixed $word, mixed $annots )`
`public` | # `getBaseForm( mixed $word, mixed $annots )`
`public` | # `getPseudoRoot( mixed $word, mixed $annots )`
`public` | # `getAllForms( mixed $word, mixed $annots )`
`public` | # `castFormByGramInfo( mixed $word, mixed $annots, mixed $partOfSpeech, mixed $grammems, mixed $returnWords = false, mixed $callback = null )`
`public` | # `getAncode( mixed $annots )`
`protected static` | # `array_unique( mixed $array )`
`public` | # `getGrammarInfoMergeForms( mixed $annots )`
`public` | # `getGrammarInfo( mixed $annots )`
`public` | # `getAllFormsWithResolvedAncodes( mixed $word, mixed $annots, mixed $resolveType = 'no_resolve' )`
`public` | # `getAllFormsWithAncodes( mixed $word, mixed $annots, mixed & $foundFormNo = array() )`
`public` | # `getAllAncodes( mixed $word, mixed $annots )`
`protected` | # `composeBaseForms( mixed $word, mixed $annots )`
`protected` | # `composeForms( mixed $word, mixed $annots )`
`protected` | # `composeFormsWithResolvedAncodes( mixed $word, mixed $annots )`
`protected` | # `composeFormsWithAncodes( mixed $word, mixed $annots, mixed & $foundFormNo )`
`public` | # `decodeAnnot( mixed $annotsRaw, mixed $withBase )`

### Magic methods summary

## Properties summary

`protected mixed` | $graminfo | #
`protected mixed` | $annot_decoder | #
`protected mixed` | $char_size | #
`protected mixed` | $ends | #
`protected mixed` | $gramtab | #
`protected mixed` | $ancodes_resolver | #
`protected boolean` | $gramtab_consts_included | #
`protected mixed` | $resolve_pos | #

[Raise a SilverStripe Framework issue/bug](https://github.com/silverstripe/silverstripe-framework/issues/new)
- [Raise a SilverStripe CMS issue/bug](https://github.com/silverstripe/silverstripe-cms/issues/new)
- Please use the Silverstripe Forums to ask development related questions. -