public void EstraiFraseAnnoEsatto()
	{
		try {
			PrintWriter writer = new PrintWriter(new FileWriter(heidelAnnoEsatto, false)); 
			
			ArrayList<String> vals = new ArrayList<String>();
			for (Document d : documents)
			{
				for (HeidelTerm ht : d.HeidelTerms)
				{
					if (ht.Tipo.equals("DATE") 
							&& ht.Valore.matches("^[0-9]{4}$")
							&& ht.Valore.equals(ht.Termine))
					{
                        String frase = EstraiFrase(d, ht);
						
						
						//System.out.printf("%s\t%s\t%s\n", d.Id, ht.Valore, frase);
						writer.printf("%s\t%s\t%s\n", d.Id, ht.Valore, frase);
					} 
				}
				
			}
				
			writer.close();
		}
		catch(IOException ex)
		{
		}
		
	}