#include "mm/ug_bitext.h"#include <boost/format.hpp>Go to the source code of this file.
Classes | |
| struct | SinglePhrase |
| struct | PPair |
| struct | PPair::stats_t |
| struct | SortByPositionInCorpus |
| struct | RowIndexSorter |
| struct | ColIndexSorter |
Namespaces | |
| namespace | stats |
Defines | |
| #define | smooth 1 |
Typedefs | |
| typedef L2R_Token< SimpleWordId > | Token |
| typedef mmTtrack< Token > | ttrack_t |
| typedef mmTSA< Token > | tsa_t |
Functions | |
| float | stats::pmi (size_t j, size_t m1, size_t m2, size_t N) |
| float | stats::npmi (size_t j, size_t m1, size_t m2, size_t N) |
| float | stats::mi (size_t j, size_t m1, size_t m2, size_t N) |
| void | getoccs (tsa_t::tree_iterator const &m, vector< ttrack::Position > &occs) |
| void | lookup_phrases (vector< id_type > const &snt, TokenIndex &V, ttrack_t const &T, tsa_t const &I, SinglePhrase::cache_t &cache, vector< vector< SPTR< SinglePhrase > > > &dest) |
| int | main (int argc, char *argv[]) |
Variables | |
| TokenIndex | V1 |
| TokenIndex | V2 |
| boost::shared_ptr< ttrack_t > | T1 |
| boost::shared_ptr< ttrack_t > | T2 |
| tsa_t | I1 |
| tsa_t | I2 |
| float | lbop_level = .05 |
| SinglePhrase::cache_t | cache1 |
| SinglePhrase::cache_t | cache2 |
| PPair::stats_t::cache_t | ppcache |
| #define smooth 1 |
| typedef L2R_Token<SimpleWordId> Token |
Definition at line 8 of file try-align.cc.
Definition at line 10 of file try-align.cc.
Definition at line 9 of file try-align.cc.
| void getoccs | ( | tsa_t::tree_iterator const & | m, | |
| vector< ttrack::Position > & | occs | |||
| ) |
Definition at line 157 of file try-align.cc.
References I, sort(), and stop.
Referenced by lookup_phrases().


| void lookup_phrases | ( | vector< id_type > const & | snt, | |
| TokenIndex & | V, | |||
| ttrack_t const & | T, | |||
| tsa_t const & | I, | |||
| SinglePhrase::cache_t & | cache, | |||
| vector< vector< SPTR< SinglePhrase > > > & | dest | |||
| ) |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Definition at line 231 of file try-align.cc.
References begin, cache1, cache2, PPair::e1, PPair::e2, end, sapt::TokenIndex::fillIdSeq(), PPair::stats_t::j, k, L1, L2, lookup_phrases(), PPair::stats_t::m1, PPair::stats_t::m2, PPair::stats_t::mi, PPair::stats_t::npmi, sapt::mmTSA< TOKEN >::open(), sapt::TokenIndex::open(), ppcache, PPair::s1, PPair::s2, PPair::stats_t::score, sort(), PPair::stats, T1, and T2.

Definition at line 14 of file try-align.cc.
Definition at line 14 of file try-align.cc.
| float lbop_level = .05 |
Definition at line 13 of file try-align.cc.
Definition at line 13 of file try-align.cc.
Definition at line 12 of file try-align.cc.
Definition at line 12 of file try-align.cc.
1.5.9