Tomeriko96 / polyglotr

R package to translate text

Home Page:https://tomeriko96.github.io/polyglotr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get linguee api external sources

Tomeriko96 opened this issue · comments

ab19e2c introduces the function linguee_external_sources. Below is an example:

> test_table <- linguee_external_sources(query = "hello", src = "en", dst = "es")
> str(test_table)

str(rrr)
tibble [27 × 4] (S3: tbl_df/tbl/data.frame)
 $ src    : chr [1:27] "Hello, my name is Maitri [...] and I just moved to the Abbey." "Hello, I have just tested your service and I must say that I am fully satisfied." "I therefore believe that a standardised portal along amazon lines - [...] partly, but not exclusively, computer"| __truncated__ "Hello, Just a word to let [...] you know how satisfied I am with my internet banking account." ...
 $ dst    : chr [1:27] "Hola, me llamo Maitri y acabo [...] de mudarme a la Abadía." "Buenos días, acabo de utilizar su servicio y estoy totalmente satisfecho." "Por ello, creo que un portal normalizado similar a amazon -que funcione en parte, pero no [...] exclusivamente,"| __truncated__ "Hola: Sólo unas palabras [...] para hacerles saber lo satisfecho que estoy con mi cuenta en la banca por internet." ...
 $ src_url: chr [1:27] "http://www.sravastiabbey.org/gallery/2010/dec10winter.html" "http://www.axiatel.com/gb/en/fax-to-email/send-receive-faxes-by-email/testimonials.php" "http://www.europarl.europa.eu/sides/getDoc.do?pubRef=-//EP//TEXT+CRE+20030924+ITEMS+DOC+XML+V0//EN&amp;language=EN" "http://swiss-bank-accounts.com/e/testimonials/index.html" ...
 $ dst_url: chr [1:27] "http://www.sravastiabbey.org/gallery/2010/dec10wintersp.html" "http://www.axiatel.com/es/es/fax-internet/enviar-recibir-fax-internet/testimonios.php" "http://www.europarl.europa.eu/sides/getDoc.do?pubRef=-//EP//TEXT+CRE+20030924+ITEMS+DOC+XML+V0//ES&amp;language=ES" "http://swiss-bank-accounts.com/s/testimonios/index.html" ...