SPB Git

Repository Public MIT Research preview

CE03-F04-conversation-longue.tex 2.6 KB 31 lines latex

1% CE03-F04 — Une conversation longue : ce que le moteur garde mot pour mot, ce qu'il résume, et quand.2% Question : que devient l'historique d'une session au fil des tours, et à quels moments l'état change-t-il de forme ?3% DONNÉES : CE03-F04-donnees.tex — seize tours joués dans une session du Context Engine (graine 0, configuration par défaut).4% Comptes exacts. Corpus synthétique ; le résumeur est une RÈGLE (première phrase de chaque tour, mot pour mot).5% Idée : les tours gardés montent, puis retombent à chaque compaction ; le résumé, lui, ne fait que croître.6\input{CE03-F04-donnees.tex}%7\begin{tikzpicture}[x=1mm, y=1mm]8  \begin{axis}[atlas axis, scale only axis, at={(11mm,0)}, width=88mm, height=40mm, xmin=.2, xmax=16.8, ymin=0, ymax=27,9      xtick={1,3,5,7,9,11,13,15}, ytick={0,6,12,18,24}, xlabel={tour de la session}, ylabel={nombre},10      ymajorgrids, axis lines=left, clip=false]11    \edef\atlasplot{\noexpand\addplot[ybar, bar width=2.6mm, atlas bar flow] coordinates {\CEFquatreGardes};}\atlasplot12    \edef\atlasplot{\noexpand\addplot[ce courbe c] coordinates {\CEFquatreResume};}\atlasplot13    \draw[atlas link, dash pattern=on 2pt off 1.6pt] (axis cs:.2,\CEFquatreSeuil) -- (axis cs:16.8,\CEFquatreSeuil);14    \node[atlas note, anchor=south west] at (axis cs:.4,\CEFquatreSeuil) {seuil : \CEFquatreSeuil\ tours};15    \foreach \t in \CEFquatreCompactions {16      \edef\atlasmark{\noexpand\node[atlas step=atlasHazard, minimum size=3.8mm] at (axis cs:\t,25.4) {C};}\atlasmark}17    \edef\atlasmark{\noexpand\node[atlas step=atlasValid, minimum size=3.8mm] at (axis cs:\CEFquatreInstantane,25.4) {I};}\atlasmark18  \end{axis}19  % légende et mesures20  \fill[atlasFlow, fill opacity=.85] (106, 39) rectangle (108.6, 41.6);21  \node[atlas note, anchor=west, text=atlasFg] at (110, 40.3) {tours gardés mot pour mot};22  \draw[ce courbe c] plot coordinates {(104.4, 35) (106.5, 35) (108.6, 35)};23  \node[atlas note, anchor=west, text=atlasFg] at (110, 35) {lignes du résumé};24  \node[atlas step=atlasHazard, minimum size=3.8mm] at (107.3, 29.6) {C};25  \node[atlas note, anchor=west, text=atlasFg] at (110, 29.6) {compaction vérifiée};26  \node[atlas step=atlasValid, minimum size=3.8mm] at (107.3, 24.2) {I};27  \node[atlas note, anchor=west, text=atlasFg] at (110, 24.2) {instantané, puis reprise};28  \node[atlas note, anchor=north west, align=left] at (105, 19.6) {\CEFquatreCompactes\ tours compactés ;\\valeurs gardées : \textbf{\CEFquatreValeurs}\\sources gardées : \textbf{\CEFquatreCitations}};29  \node[ce nature, anchor=north east] at (142, -9) {calcul exact · résumeur à règle};30\end{tikzpicture}31
Files main
Menu

Theme