int loadFsa(char *fsaFileName, char *fsaTableName)Used to load the data into memory.
Parameters:
The return value informs whether the data could be loaded.
- Transducer file (delivered as GerXYZAnalyzer.tra)
- Feature table file (delivered as GerXYZAnalyzer.ftb)
int analyzeFormAndGetCitation(char *form, char *filter, char *result, int resultMaxLen)Used to retrieve citation forms from a word form.
Parameters:
The return value informs whether there was a result.
- String containing the word form to be analyzed
- String containing the feature filter
- Allocated string in which the result is stored
- Length of allocated string
public static int fsaLoad(String fsaName, String tableName) public static String analyzeAndGetAsCitation(String query, String filter)The return value contains the result.