Home page  
Help >
DdGetPorterStem() - get Porter stem for a string
Version 7.11
DdGetPorterStem() - get Porter stem for a string DdGetPorterStem() - get Porter stem for a string

Prototype:
   void DdGetPorterStem(
      const char *inString,       /* [IN] source string */
      char *outString,            /* [OUT] result string */
      int outStringLength);       /* [IN] max length for  outString */

Description:
DdGetPorterStem() is the API level equivalent to the ddlCalc() string function _porter().

Description of Parameter inString:
const char *inString is the null-terminated ascii source word or name to be processed. *inString may contain any number of characters.

Description of Parameter outString:
char *outString is a user supplied buffer where the result string is stored as a null terminated ascii string. The result string contains up to strlen(inString) lower case alphabetic characters, plus the terminating null character.

Description of Parameter outStringLength:
int outStringLength is the maximum number of characters (including the null terminator) that can be stored into *outString.

Copyright © 2019 , WhamTech, Inc.  All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. Names may be trademarks of their respective owners.