morfologik / morfologik-stemming

Tools for finite state automata construction and dictionary-based morphological dictionaries. Includes Polish stemming dictionary.
BSD 3-Clause "New" or "Revised" License
187 stars 44 forks source link

Changed dump method to public String so that the tool can be used to get... #39

Closed rob144 closed 9 years ago

rob144 commented 9 years ago

... the decoded dictionary as a String variable. This is useful for manipulating the dictionary from a java app.

dweiss commented 9 years ago

Sorry but this won't work -- the dictionaries can be huge and we can't build a String out of them. If you need a String, you can make this method public (returning void), create an intermediate (Files.createTempFile) file and then read it back.