Hi Dimitar,
full string unfortunately. This is a hash table, so no partial methods possible. The source string itself isn't stored anywhere.
Best,
Marcin

W dniu 23/09/16 o 10:24, Dimitar Shterionov pisze:
Hi Marcin and thanks for the quick reply.

With the queryPhraseTableMin do I always need to provide exact string to match an entry or can I actually provide partial string? or regex? Basically I want to extract all 1-grams. Any suggestions?

Thanks once again.
Dimitar.

Dimitar Shterionov | [email protected] <mailto:[email protected]> | Machine Translation Researcher

www.KantanMT.com <http://www.kantanmt.com/> | Easy Translation - No Software. No Hardware. No Hassle MT.

<https://www.facebook.com/KantanMT> [Follow on Google+] <https://plus.google.com/+Kantanmt_cloudmachinetranslation> [Tweet with your friends] <https://twitter.com/KantanMT> [Share on LinkedIn] <https://www.linkedin.com/company/kantanmt> [Slide share] <http://www.slideshare.net/kantanmt> [Follow on Youtube] <https://www.youtube.com/user/KantanMT> [Read our Blog] <http://kantanmtblog.com/> [RSS Feed] <https://kantanmt.com/rssfeeds.php> [Email us] <mailto:[email protected]>


On 23 September 2016 at 10:19, Marcin Junczys-Dowmunt <[email protected] <mailto:[email protected]>> wrote:

    Hi,
    If you want a complete dump of the phrase table as text, this is
    not possible. The compact phrase table is not reversible. You can
    use queryPhraseTableMin to ask for the translations of specific
    phrases.
    Best,
    Marcin

    W dniu 23/09/16 o 10:16, Dimitar Shterionov pisze:
    Dear all,

    I want to extract some specific data from the table after the
    model has been built. Before it is compacted I have it in raw
    format and it is easy. But I don't know how to process and read
    the compacted format of the phrase-table. Is there a way to read
    the phrase-table.minphr format as text? Any suggestions?

    Thank you very much.
    Kind regards,
    Dimitar.


    _______________________________________________
    Moses-support mailing list
    [email protected] <mailto:[email protected]>
    http://mailman.mit.edu/mailman/listinfo/moses-support
    <http://mailman.mit.edu/mailman/listinfo/moses-support>

    _______________________________________________ Moses-support
    mailing list [email protected] <mailto:[email protected]>
    http://mailman.mit.edu/mailman/listinfo/moses-support
<http://mailman.mit.edu/mailman/listinfo/moses-support>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to