Commit 4cb631cb6e1dca154955c87436ac3e5b941a8d61
1 parent
da004203
- dodanie konstruktora dla MorphIterpretation
git-svn-id: svn://svn.nlp.ipipan.waw.pl/morfeusz/trunk@287 ff4e3ee1-f430-4e82-ade0-24591c43f1fd
Showing
1 changed file
with
5 additions
and
1 deletions
morfeusz/morfeusz2.h
... | ... | @@ -276,7 +276,7 @@ namespace morfeusz { |
276 | 276 | * List of paths where current Morfeusz instance will look for dictionaries. |
277 | 277 | * Modifying it is NOT THREAD-SAFE. |
278 | 278 | */ |
279 | - static std::list<std::string> dictionarySearchPaths; | |
279 | + static std::vector<std::string>& getDictionarySearchPaths(); | |
280 | 280 | |
281 | 281 | /** |
282 | 282 | * Get available parameters for "setAggl" method. |
... | ... | @@ -441,6 +441,10 @@ namespace morfeusz { |
441 | 441 | * One MorphInterpretation instance describes one edge of this DAG. |
442 | 442 | */ |
443 | 443 | struct DLLIMPORT MorphInterpretation { |
444 | + | |
445 | + MorphInterpretation() | |
446 | + : startNode(0), endNode(0), orth(), lemma(), tagId(0), nameId(0), labelsId(0) {} | |
447 | + | |
444 | 448 | /** |
445 | 449 | * Creates new instance with "ign" tag (meaning: "not found in the dictionary") |
446 | 450 | */ |
... | ... |