import "graphan.idl";
Public Methods | |
| HRESULT | bMacSynHierarchy ([out, retval] BOOL *pVal) |
| HRESULT | XmlMacSynOutputFile ([out, retval] BSTR *pVal) |
| HRESULT | Language ([out, retval] int *pVal) |
| HRESULT | bEmptyLineIsSentenceDelim ([out, retval] BOOL *pVal) |
| HRESULT | bUseParagraphTagToDivide ([out, retval] BOOL *pVal) |
| HRESULT | bUseIndention ([out, retval] BOOL *pVal) |
| HRESULT | bSubdueWrongMacroSynUnitToMainRoot ([out, retval] BOOL *pVal) |
| HRESULT | GraOutputFile ([out, retval] BSTR *pVal) |
| HRESULT | LoadDicts () |
| HRESULT | LoadFileToGraphan ([in] BSTR CommandLine) |
| HRESULT | LoadStringToGraphan ([in] BSTR Buffer) |
| HRESULT | IsTableLoaded ([out, retval] BOOL *pVal) |
| HRESULT | GetLineCount ([retval, out]UINT *Count) |
| HRESULT | GetWord ([in] UINT LineNo,[retval, out] BSTR *s) |
| HRESULT | HasDescr ([in] UINT LineNo,[in]UINT D,[retval, out] BOOL *result) |
| HRESULT | GetDescriptorStr ([in] UINT DescriptorNo,[retval, out] BSTR *result) |
| HRESULT | GetLine ([in] UINT LineNo,[retval, out] BSTR *result) |
| HRESULT | GetOborotNo ([in] UINT LineNo,[retval, out] LONG *result) |
| HRESULT | SetOborDic ([in] IUnknown *Dic) |
| HRESULT | GetUnitOffset ([in] int LineNo,[out, retval] int *Offset) |
| HRESULT | GetUnitLength ([in] int LineNo,[out, retval] BYTE *Length) |
| HRESULT | FreeTable () |
| HRESULT | FreeDicts () |
| HRESULT | GetTokenLanguage ([in] int LineNo,[out, retval]int *Language) |
|
|
true, if empty lines are sentence delimiters |
|
|
true, if the module builds macro-syntax hierarchy |
|
|
true, if the module subdues unknown macro-syntax units to the meta root |
|
|
true, if the module uses indention to find paragraphs |
|
|
true, if the module considers "</p>" as a paragraph |
|
|
free all dictionaries |
|
|
delete the current graphematical table |
|
||||||||||||
|
get a string representation of a graphematical descriptor |
|
||||||||||||
|
get a string representation of row LineNo from the graphematical table |
|
|
get the number of lines in the graphematical table |
|
||||||||||||
|
get a oborot index that starts from LineNo, -1 if there is no oborots |
|
||||||||||||
|
get the language of token at line LineNo |
|
||||||||||||
|
get the length of the input token of line LineNo |
|
||||||||||||
|
get offset in the input buffer of line LineNo, for plain text files or strings this offset is equal to the file offset |
|
||||||||||||
|
get the word by the line index |
|
|
file for graphematical table, by default it is empty |
|
||||||||||||||||
|
true, if a line index <a> LineNo in the graphematical table contains descriptor <a>D |
|
|
true, if a file or s string was loaded into the module |
|
|
the language of the input text: Russian = 1, English = 2, German = 3 |
|
|
initializes the whole module, loads dictionaries |
|
|
load a file into graphematics |
|
|
load a string into graphematics |
|
|
set a pointer to oborot-dictionary. It should be set before calling LoadDicts, otherwise another copy of the dictionary would be loaded by the module itself |
|
|
an .xml file to write macro syntax hierarchy of the input text |
1.2.18