How to Query a Pensieve TM

From Okapi Framework
Revision as of 19:19, 4 June 2016 by Ysavourel (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Using Tikal

You can query directly a Pensieve TM with Tikal:

1. Start a DOS prompt or a shell console from where you can run Tikal.

2. Assuming:

  • The TM is in C:\Tmp\myTM.pentm
  • The text to query is "text to query"

Execute the command-line:

tikal -q "text to query" -pen C:\Tmp\myTM

If the text exists as typed you should get an exact match, something like this:

= From Pensieve TM (en->fr)
  Threshold=95, Maximum hits=25
score: 95, origin: 
  Source: "text to query"
  Target: "texte à chercher"

Note that, at this time, the source and target languages do not matter when querying the TM.