mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-27 05:55:02 +03:00
1740478238
Derive your property class from PhraseProperty. Do any expensive string processing of the property value in there, not in the feature implementation, and provide methods to access the information in appropriate data formats. The property value string will thus have to be processed only once (on loading) rather than each time the respective phrase is applied and your feature needs to access the property value. |
||
---|---|---|
.. | ||
IOWrapper.cpp | ||
IOWrapper.h | ||
Jamfile | ||
Main.cpp | ||
Main.h | ||
mbr.cpp | ||
mbr.h | ||
TranslationAnalysis.cpp | ||
TranslationAnalysis.h |